Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved on LABjs by adding: -> conditional loading based on element availability -> test multiple elements with AND-like condition (eg: $O.test().test().js().wait()) -> test multiple elements with OR-like condition (eg: $O.test('this, that').js().wait()) -> custom javascript attributes -> leaner code (6.3kb minified, 2.9kb gzipped) -> replaces .no-js with .js on html element -> queue test via $O.queueTest() -> end() to enable explicit end of test chain without breaking the chain (unlike sandbox()) -> loading initial js (entry point js - like app.js) via data attribute with data-only -> adjusted absolute uri regex gotten from a LABjs issue (getify/LABjs#98) -> automatically load polyfill service (polyfill.io) via options -> inject script tags at end of head tag opposed to LABjs inject at top (getify/LABjs#115) -> conditional script execution of inline scripts via $O.test().script() -> add snippet in docs for lazy css since this library will not handle that -> support CommonJS (not tested)
- Loading branch information