Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Merge pull request #42 from craigdavey/coffee-script-13
Browse files Browse the repository at this point in the history
CoffeeScript 1.3
  • Loading branch information
sstephenson committed Nov 2, 2012
2 parents 98f71ed + dc4c276 commit a734ece
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
57 changes: 38 additions & 19 deletions lib/stitch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
}
Expand Down
6 changes: 3 additions & 3 deletions test/test_stitch.coffee
Expand Up @@ -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
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit a734ece

Please sign in to comment.