Permalink
Browse files

coco shorthand

  • Loading branch information...
1 parent 937eb05 commit 2d35b65dd93eb2a215431e54f171b202aa083bba @andrewrk committed Jul 14, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/jspackage.co
View
@@ -195,7 +195,7 @@ export const compile = !(options, cb) ->
export const extensions =
'.coffee':
compile: (code, options) ->
- require('coffee-script').compile code, bare: options.bare
+ require('coffee-script').compile code, {options.bare}
depend_re: /^#depend "(.+)"( bare)?$/gm
'.js':
@@ -208,11 +208,11 @@ export const extensions =
'.co':
compile: (code, options) ->
- require('coco').compile code, bare: options.bare
+ require('coco').compile code, {options.bare}
depend_re: /^#depend "(.+)"( bare)?$/gm
'.ls':
compile: (code, options) ->
- require('LiveScript').compile code, bare: options.bare
+ require('LiveScript').compile code, {options.bare}
depend_re: /^#depend "(.+)"( bare)?$/gm

0 comments on commit 2d35b65

Please sign in to comment.