Permalink
Browse files

Merge pull request #42 from craigdavey/coffee-script-13

CoffeeScript 1.3
  • Loading branch information...
2 parents 98f71ed + dc4c276 commit a734eceb99f431b37d2693e1fe64195f76e159ec @sstephenson committed Nov 2, 2012
Showing with 42 additions and 23 deletions.
  1. +38 −19 lib/stitch.js
  2. +1 −1 package.json
  3. +3 −3 test/test_stitch.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -19,7 +19,7 @@
, "underscore": ">=1.1.3"
}
, "devDependencies" :
- { "coffee-script" : ">= 1.2.0"
+ { "coffee-script" : ">= 1.3.0"
, "nodeunit" : ">= 0.6.4"
, "eco": ">= 1.1.0-rc-3"
}
View
@@ -88,7 +88,7 @@ module.exports =
test.expect 1
dirname = fixtures + "/empty"
- fs.mkdirSync dirname, 0755
+ fs.mkdirSync dirname, 0o0755
defaultPackage.getFilesInTree dirname, (err, files) ->
test.ok !err
fs.rmdirSync dirname
@@ -125,9 +125,9 @@ module.exports =
source = require('fs').readFileSync filename, 'utf8'
source = "alert(#{sys.inspect source});"
module._compile source, filename
- package = stitch.createPackage options
+ pkg = stitch.createPackage options
- package.compileFile altFixtures + "/hello.alert", (err, source) ->
+ pkg.compileFile altFixtures + "/hello.alert", (err, source) ->
test.same "alert('hello world\\n');", source
test.done()

0 comments on commit a734ece

Please sign in to comment.