Useful functions for myself
queste sono le versioni di questo script in cui il codice è stato aggiornato Visualizza tutte le versioni.
oFunc.dependencies
loadFuncs
await
detectDom
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