Sha256: 8eeec167b5585b1d631fe36d190c030480fe5eb23ffdd72ae222ece11e260429

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 Bytes

Contents

# This (javascript) file is generated from lib/coffee_script/narwhal/loader.coffee

coffeescript: null
factories: {}

loader: {

  # Reload the coffee-script environment from source.
  reload: topId, path =>
    coffeescript ||= require('coffee-script')
    factories[topId]: coffeescript.makeNarwhalFactory(path).

  # Ensure that the coffee-script environment is loaded.
  load: topId, path =>
    factories[topId] ||= this.reload(topId, path).

}

require.loader.loaders.unshift([".coffee", loader])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coffee-script-0.1.5 lib/coffee_script/narwhal/loader.coffee
coffee-script-0.1.4 lib/coffee_script/narwhal/loader.coffee