Permalink
Browse files

Support CoffeeScript 1.7.x

  • Loading branch information...
1 parent ebe3d51 commit cd6019ff8b6f447916cd35a400b4aeaeb3f343a6 @shinnn shinnn committed Feb 9, 2014
Showing with 5 additions and 2 deletions.
  1. +5 −2 bin/zap
View
@@ -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 cd6019f

Please sign in to comment.