Has anyone compiled jQuery against Google's newly-released Closure compiler?  There has been reported huge savings in code size. I'm curious what the benefit is if jQuery was compiled with it....
I want to use the google closure compiler on the javascript source we're using. In development mode we tend to break functionality to lots of files but for production would like to have them combined into modules.  When calling the compiler I can...
I was wondering, since Clojure Compiler and UglifyJS not only optimize code for size but also for performance (although I think size is the main priority), would my node.js app run faster if it was minified ? I know it may depend from app, but I'...
Are there any projects that used node.js and closure-compiler (CC for short) together?  The official CC recommendation is to compile all code for an application together, but when I compile some simple node.js code which contains a require("./MyL...
I put this in an externs file:  /** @typedef {{english: string, spanish: string}} */ var SpanishNoun;   Then I have javascript:  /**  * @param {SpanishNoun} n   */ exp1.processData3 = function (n) {     console.log("pd3:", n.english, n.spanis...
I use Closure Compiler on my sources and recently decided to enable the most strict mode via --jscomp_warning=reportUnknownTypes. Alas, it triggered a lot of warnings inside the goog.base itself! I've fixed all the problems in my own code and now...
I have some HTML that contains a JSON string. In the on DOM ready callback, I have something like this:  MyObject = JSON.parse($('#TheJsonString').html());   Later in my code, I write something this:  var SomeVar = MyObject.MyProp1;   And the...
Here's what I'm looking for:   I want to use the wonderful features of SIMPLE mode minification while disabling just one specific feature (disable local function inline).      UPDATE: The answer is NO, it's not possible given my setup. Bu...
According to the JSDoc wiki for @param you can indicate a @param is optional using    /**     @param {String} [name] */ function getPerson(name) { }     and you can indicate a param inline using  function getPerson(/**String*/ name) { }   And I can c...
YUI Compressor was the consensus best tool for minimizing, but Closure seems like it could be better....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.