Useful functions for myself
这些是代码更新过的版本。 显示所有版本
detectDom
oFunc.dependencies
loadFuncs
await
queueTask
sleep
max
Assert
testChecker
registerChecker
detectDom: added support for attributes change
bug fix
detectDom now supports matching multiple selectors in one time
fixed an error description mistake
Set
Array
addStyle
parentElement, css, id
css
css, id
Added detectDom, which provides ability to monitor document changes
$$CrE: Create new element with pre-configs
$$CrE
The third argument of DoLog now is changed from [Boolean]trace to [String]logger
DoLog
[Boolean]trace
[String]logger
addStyle now returns the
code improvements
addStyle arguments support: css | parentElement, css | parentElement, css, attributes
parentElement, css
parentElement, css, attributes
escJsStr支持转义\r,\n和\t