Skip to content

Commit

Permalink
Fix for vanilla Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminoakes committed Jan 18, 2012
1 parent b15fb50 commit 6b3fdfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Bootstrap the CoffeeScript compiler, then load the library
var coffee = require('coffee-script'),
momentStrftime = require('./moment-strftime');

module.exports = momentStrftime;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
],

"main": "./lib/moment-strftime",
"main": "./lib/main.js",

"engines": {
"node": "*"
Expand Down

0 comments on commit 6b3fdfc

Please sign in to comment.