Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use coco 0.7.6 so we can have export const

  • Loading branch information...
commit cc9aa60f504ec0a3e3bc404c74d62a7b5d697388 1 parent e14dfb3
@andrewrk authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  package.json
  2. +2 −2 src/jspackage.co
View
2  package.json
@@ -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
4 src/jspackage.co
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.