moved the coffeescript extension over from .cs to .coffee -- let's leave C# in peace. Changed array comprehensions to always return their mapped result, even when unassigned

This commit is contained in:
Jeremy Ashkenas
2009-12-25 14:18:05 -08:00
parent e494d520ea
commit d46bf8ee71
51 changed files with 127 additions and 147 deletions

View File

@@ -1,4 +1,4 @@
# This (javascript) file is generated from lib/coffee_script/narwhal/coffee-script.cs
# This (javascript) file is generated from lib/coffee_script/narwhal/coffee-script.coffee
# Executes the `coffee-script` Ruby program to convert from CoffeeScript
# to Javascript. Eventually this will hopefully happen entirely within JS.

View File

@@ -1,6 +1,6 @@
(function(){
// This (javascript) file is generated from lib/coffee_script/narwhal/coffee-script.cs Executes the `coffee-script` Ruby program to convert from CoffeeScript
// This (javascript) file is generated from lib/coffee_script/narwhal/coffee-script.coffee Executes the `coffee-script` Ruby program to convert from CoffeeScript
// to Javascript. Eventually this will hopefully happen entirely within JS. Require external dependencies.
var OS = require('os');
var File = require('file');

View File

@@ -1,6 +1,6 @@
(function(){
// This (javascript) file is generated from lib/coffee_script/narwhal/loader.cs
// This (javascript) file is generated from lib/coffee_script/narwhal/loader.coffee
var coffeescript = null;
var factories = {
};
@@ -16,5 +16,5 @@
return factories[topId] = factories[topId] || this.reload(topId, path);
}
};
require.loader.loaders.unshift([".cs", loader]);
require.loader.loaders.unshift([".coffee", loader]);
})();

View File

@@ -1,4 +1,4 @@
# This (javascript) file is generated from lib/coffee_script/narwhal/loader.cs
# This (javascript) file is generated from lib/coffee_script/narwhal/loader.coffee
coffeescript: null
factories: {}
@@ -16,4 +16,4 @@ loader: {
}
require.loader.loaders.unshift([".cs", loader])
require.loader.loaders.unshift([".coffee", loader])