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:
Jeremy Ashkenas
2010-02-24 20:41:56 -05:00
parent c1427d6558
commit c14869f008
8 changed files with 154 additions and 688 deletions

View File

@@ -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