Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #10 from shinnn/master

Support CoffeeScript 1.7.x
  • Loading branch information...
commit a4d4c92c0966a5301cc4c28d52efe302a337d621 2 parents ebe3d51 + cd6019f
Jeremy Apthorp authored

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. +5 2 bin/zap
7 bin/zap
@@ -8,8 +8,11 @@ var fs = require('fs')
8 8
9 9 var coffee
10 10 try {
11   - coffee = require('coffee-script')
12   -} catch (e) {
  11 + coffee = require('coffee-script/register')
  12 +} catch (e0) {
  13 + try {
  14 + coffee = require('coffee-script')
  15 + } catch (e1) {}
13 16 }
14 17
15 18 if (process.argv[2] === '--one') {

0 comments on commit a4d4c92

Please sign in to comment.
Something went wrong with that request. Please try again.