Update database import script, JS dom rel function, typos

the JS dom rel function returns the full element.
The database import script has now test and step by step with retry
import functionality

various comment typo fixe
This commit is contained in:
Clemens Schwaighofer
2019-05-31 13:53:02 +09:00
parent 0111762315
commit fe32dd4543
5 changed files with 68 additions and 18 deletions

View File

@@ -428,9 +428,12 @@ function aelx(base, ...attach)
// METHOD: rel [reset element]
// PARAMS: cel created element
// RETURN: "none", is self change, but returns base.sub
// RETURN: returns sub reset base element
// DESC : resets the sub elements of the base element given
const rel = (base) => base.sub = [];
const rel = (base) => {
base.sub = [];
return base;
};
// METHOD: rcssel [remove a css from the element]
// PARAMS: element, style sheet to remove

View File

@@ -506,9 +506,12 @@ function aelx(base, ...attach)
// METHOD: rel [reset element]
// PARAMS: cel created element
// RETURN: "none", is self change, but returns base.sub
// RETURN: returns sub reset base element
// DESC : resets the sub elements of the base element given
const rel = (base) => base.sub = [];
const rel = (base) => {
base.sub = [];
return base;
};
// METHOD: rcssel [remove a css from the element]
// PARAMS: element, style sheet to remove