touch-ups cleanups to the lexer and rebuilding the narwhal libs from whitespace'd versions

This commit is contained in:
Jeremy Ashkenas
2009-12-29 23:01:08 -05:00
parent d3ab60df78
commit dd3c9abe15
3 changed files with 20 additions and 38 deletions

View File

@@ -8,11 +8,11 @@ loader: {
# Reload the coffee-script environment from source.
reload: topId, path =>
coffeescript ||= require('coffee-script')
factories[topId]: coffeescript.makeNarwhalFactory(path).
factories[topId]: coffeescript.makeNarwhalFactory(path)
# Ensure that the coffee-script environment is loaded.
load: topId, path =>
factories[topId] ||= this.reload(topId, path).
factories[topId] ||= this.reload(topId, path)
}