Sha256: 243b3848ba61d1934b09fcefbefb479ed47b587fab70fe99daca8fb2b759bc2a
Contents?: true
Size: 998 Bytes
Versions: 2
Compression:
Stored size: 998 Bytes
Contents
(function(){ // Initial Setup // -------------------------------------------------------------------------- // Save a reference to the global object... // `window` in the browser, `global` on the server. var root = this; // The top-level namespace. All public Emerson classes and modules will // be attached to this. Exported for both CommonJS and the browser. var Emerson; if (typeof exports !== 'undefined') { Emerson = exports; } else { Emerson = root.Emerson = {}; } // Current version of the library. Keep in sync with `package.json`. Emerson.VERSION = '0.0.1'; // Reference the base lib (one of jQuery, Zepto or Ender) as $. var $ = Emerson.base = (root.jQuery || root.Zepto || root.ender); // Primary API // -------------------------------------------------------------------------- Emerson.init = function init() { _.each(['sink', 'util', 'view'], function(mod) { Emerson[mod] && Emerson[mod].init(); }); }; }).call(this);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
emerson-0.0.2 | vendor/assets/javascripts/emerson/base.js |
emerson-0.0.1 | vendor/assets/javascripts/emerson/base.js |