Permalink
Browse files

use coco 0.7.6 so we can have export const

  • Loading branch information...
1 parent e14dfb3 commit cc9aa60f504ec0a3e3bc404c74d62a7b5d697388 @andrewrk committed Jul 12, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 src/jspackage.co
View
@@ -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"
},
View
@@ -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 ? []
@@ -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

0 comments on commit cc9aa60

Please sign in to comment.