# File lib/coffee_script.rb, line 60 def compile_js(script, options) options = options[:bare] ? "{#{Source.bare_option} : true}" : "{}" "try {\nprint('+' + CoffeeScript.compile(\#{script.to_json}, \#{options}));\n} catch (e) {\nprint('-' + e);\n}\n" end