Created
February 3, 2012 22:56
-
-
Save jeremysimmons/1733510 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just go to http://closure-compiler.appspot.com/ | |
// ==ClosureCompiler== | |
// @compilation_level ADVANCED_OPTIMIZATIONS | |
// @output_file_name default.js | |
// @use_closure_library true | |
// ==/ClosureCompiler== | |
goog.require('goog.json'); | |
if (!window['JSON']) window['JSON']={}; | |
if (typeof window['JSON']['stringify'] !== 'function') window['JSON']['stringify']=goog.json.serialize; | |
if (typeof window['JSON']['parse'] !== 'function') window['JSON']['parse']=goog.json.parse; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment