Skip to content

Commit

Permalink
use coco 0.7.6 so we can have export const
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Jul 12, 2012
1 parent e14dfb3 commit cc9aa60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"coffee-script": "~1.3.3",
"coco": "~0.7.5",
"coco": "~0.7.6",
"LiveScript": "~0.9.11b",
"temp": "~0.4.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/jspackage.co
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const watchFiles = !(files, cb) ->
watcher = watchFileFallback(file, doCallback)
watchers.push watcher

export compile = !(options, cb) ->
export const compile = !(options, cb) ->
watching := options.watch

libs := options.libs ? []
Expand Down Expand Up @@ -192,7 +192,7 @@ export compile = !(options, cb) ->
const output = (dep.compiled_js for dep of dependency_chain).join("\n")
cb(null, output)

export extensions =
export const extensions =
'.coffee':
compile: (code, options) ->
require('coffee-script').compile code, bare: options.bare
Expand Down

0 comments on commit cc9aa60

Please sign in to comment.