2
0
mirror of https://github.com/esiur/iui.git synced 2025-05-06 06:42:58 +00:00
This commit is contained in:
Ahmed Zamil 2023-01-11 17:05:22 +03:00
parent 811152f867
commit 1294b0f413
3 changed files with 13 additions and 10 deletions

View File

@ -23,7 +23,7 @@ export default IUI.module(class Repeat extends IUIElement
/// Create ///
//////////////
console.log(this, this.innerHTML);
//console.log(this, this.innerHTML);
if (this._created)
debugger;

View File

@ -203,6 +203,7 @@ export default IUI.module(
target.setLoading(true);
try {
if (stateRoute.dataMap != null) {
// if map function failed to call setData, we will render without it
if (!(await stateRoute.dataMap.render(data || {})))
@ -211,6 +212,9 @@ export default IUI.module(
if (viewRoute != stateRoute) await viewRoute.setData(stateRoute.data);
} //if (data !== undefined)
else await viewRoute.setData(data);
} catch (ex){
console.log("EXXXXXXXXXX", ex);
}
target.setLoading(false);
}

View File

@ -58,7 +58,6 @@ window.addEventListener("load", async function () {
await IUI.create(document.body);
await IUI.created(document.body);
console.log("IUI.create()");
});
window.iui = iui;