The following objects are created by the elementals.js library. Some of these are aliases to longer named objects that as developers we call all the time and are simply provided to save a few bytes and some typing.
The "_" object is the core elementals object through which the majority of new functionality is accessed. This includes things like AJAX handling, event helpers, element creation, and NodeType mask constants.
Click here for Full Reference
- An alias of window.
- An alias of document.
The document object will have document.head added to it if the browser does not provide this reference natively.
JSON is also partly implemented in the form of JSON.parse and JSON.stringify. Beware that the parser is a simple eval() fallback, so use with caution.
performance is partly polyfilled in the form of performance.now. No other aspects of it have been fixed.
Window.requestAnimationFrame and Window.cancelAnimationFrame are both polyfilled to use the browser specific versions if available, and otherwise to fall back upon setInterval. Just beware that in a lot of browsers setInterval maxes out at around 30fps, so keep an eye on that timer value your frame will be fed!