Sha256: fa26e0177d01d462fcf96bd0c77786cb7c3696e8a9044517d39bc17fc4c96f4a

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

(function(){

  // This (javascript) file is generated from lib/coffee_script/narwhal/loader.cs
  var coffeescript = null;
  var factories = {
  };
  var loader = {
    // Reload the coffee-script environment from source.
    reload: function(topId, path) {
      coffeescript = coffeescript || require('coffee-script');
      factories[topId] = coffeescript.makeNarwhalFactory(path);
      return factories[topId];
    },
    // Ensure that the coffee-script environment is loaded.
    load: function(topId, path) {
      return factories[topId] = factories[topId] || this.reload(topId, path);
    }
  };
  require.loader.loaders.unshift([".cs", loader]);
})();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coffee-script-0.1.3 lib/coffee_script/narwhal/js/loader.js