Skip to content

Instantly share code, notes, and snippets.

@illicitonion
Created October 18, 2011 14:27
Show Gist options
  • Select an option

  • Save illicitonion/1295551 to your computer and use it in GitHub Desktop.

Select an option

Save illicitonion/1295551 to your computer and use it in GitHub Desktop.
Turn off javascript atoms optimisations
Index: rake-tasks/crazy_fun/mappings/javascript.rb
===================================================================
--- rake-tasks/crazy_fun/mappings/javascript.rb (revision 14194)
+++ rake-tasks/crazy_fun/mappings/javascript.rb (working copy)
@@ -334,7 +334,7 @@
"-f \"--third_party=true\" " <<
"-f \"--js_output_file=#{output}\" " <<
"-f \"--output_wrapper='#{wrapper}'\" " <<
- "-f \"--compilation_level=ADVANCED_OPTIMIZATIONS\" " <<
+ "-f \"--compilation_level=PRETTY_PRINT\" " <<
"-f \"--define=goog.NATIVE_ARRAY_PROTOTYPES=false\" " <<
"#{defines} " <<
"-p third_party/closure/goog/ " <<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment