1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/lib/coffee_script/narwhal/loader.cs

20 lines
557 B
C#

# This (javascript) file is generated from lib/coffee_script/narwhal/loader.cs
coffeescript: null
CoffeeScriptLoader: =>
loader: {}
factories: {}
loader.reload: topId, path =>
coffeescript ||: require('coffee-script')
# print("loading objective-j: " + topId + " (" + path + ")");
factories[topId]: coffeescript.make_narwhal_factory(path).
loader.load: topId, path =>
loader.reload(topId, path) unless factories.hasOwnProperty(topId)
factories[topId].
loader.
require.loader.loaders.unshift([".cs", CoffeeScriptLoader()])