mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
making bin/cake install add CoffeeScript as a Node.js library, and creating an index.js file for the top-level inclusion.
This commit is contained in:
10
lib/index.js
Normal file
10
lib/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
(function(){
|
||||
var _a, key, val;
|
||||
var __hasProp = Object.prototype.hasOwnProperty;
|
||||
// Loader for CoffeeScript as a Node.js library.
|
||||
_a = require('./coffee-script');
|
||||
for (key in _a) { if (__hasProp.call(_a, key)) {
|
||||
val = _a[key];
|
||||
(exports[key] = val);
|
||||
}}
|
||||
})();
|
||||
Reference in New Issue
Block a user