Permalink
Browse files

Merge pull request #10 from shinnn/master

Support CoffeeScript 1.7.x
  • Loading branch information...
2 parents ebe3d51 + cd6019f commit a4d4c92c0966a5301cc4c28d52efe302a337d621 @nornagon committed Feb 9, 2014
Showing with 5 additions and 2 deletions.
  1. +5 −2 bin/zap
View
7 bin/zap
@@ -8,8 +8,11 @@ var fs = require('fs')
var coffee
try {
- coffee = require('coffee-script')
-} catch (e) {
+ coffee = require('coffee-script/register')
+} catch (e0) {
+ try {
+ coffee = require('coffee-script')
+ } catch (e1) {}
}
if (process.argv[2] === '--one') {

0 comments on commit a4d4c92

Please sign in to comment.