From 738896650dc5fff76e1516e36526cbf239998d16 Mon Sep 17 00:00:00 2001 From: german Date: Tue, 14 Apr 2026 15:49:59 +0400 Subject: [PATCH] Quiz --- Find/Find.js | 1 + demos/Quiz/nomodule-find.min.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Find/Find.js b/Find/Find.js index e0ba115..27282a6 100644 --- a/Find/Find.js +++ b/Find/Find.js @@ -29,6 +29,7 @@ class FindObjectMap { } this._app = app; this._num = num; + this.title = undefined; return this; } all(q) { diff --git a/demos/Quiz/nomodule-find.min.js b/demos/Quiz/nomodule-find.min.js index 6c6cb8e..94e1987 100644 --- a/demos/Quiz/nomodule-find.min.js +++ b/demos/Quiz/nomodule-find.min.js @@ -1 +1 @@ -class FindObjectMap{constructor(t,r,e){return this.root=t,"object"!=typeof this.root&&PrivateFind.error("Неизвестный root!"),this._app=r,this._num=e,this}all(t){const r=this.root.querySelectorAll(t);if(void 0===r)return void PrivateFind.error("Нет обьектов для селектора!");let e=new Array;for(let t=0;t{r(this._app,this)}),this}merge(){if(0!=this._num)return PrivateFind.error("Вы можете создавать merge-обьект только из корневого map(), но уровень вложенности данного map() равен "+String(this._num)+"!"),this;const t=this._app.getNumberOfGroupFromId(this._app.__id);return this._app.groups[t].html=new Array(this.read()),this}app(){return this._app}main(){return new FindObjectMap(this._app.root,this._app,0)}attribute(t,r){return this.root.setAttribute(t,r),this}}class Find{constructor(t){return this._lll="",this.root=t,this.iter=0,this.groups=new Array,this.groups_count=0,this._map=new FindObjectMap(this.root,this,0),this}static createApp(){return Find}static attach(t,r){return`${t}="${r.replace('"',""")}"`}static css(t){return``}static js(t){return`