mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
implementing the inline javascript in the documentation page in text/coffeescript, switching from the closure compiler to the yui compressor for building the browser version -- the closure compiler had a bug for our input -- fixable by hand but not worth the tiny savings
This commit is contained in:
@@ -77,7 +77,7 @@ compile_script: (source, code) ->
|
||||
js: coffee.compile code, compile_options()
|
||||
if o.run then eval js
|
||||
else if o.lint then lint js
|
||||
else if o.print or o.eval then puts js
|
||||
else if o.print or o.eval then print js
|
||||
else write_js source, js
|
||||
catch err
|
||||
if o.watch then puts err.message else throw err
|
||||
|
||||
Reference in New Issue
Block a user