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 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...
YUI Compressor was the consensus best tool for minimizing, but Closure seems like it could be better....
How can I test if an JavaScript object is an implementation of an interface using the Google Closure inheritance mechanism?    I could not find any hint of my.Animal in the objects created via new my.Dog() and object instanceof my.Animal didn't w...
I need to use the Google Closure compiler.jar to minify a huge project I am working on.  I have multiple js files that I want to compile into a single game.min.js file.  I know I can use the following:  java -jar compiler.jar --js file1.js --js file2...
I am trying to make externs for the Google Closure Compiler for types that have no constructor.  I have tried the following, but it gives me a Bad type annotation. Unknown type WindowsMediaActiveX.Cdrom error because nothing tells the compiler that W...
I keep getting the warning mentioned above but can't figure out why. I've added deps.js and deps.js contains a reference to the type.  Here is the offending code:  goog.provide("MyCompany.MyApp.dom");   MyCompany.MyApp.dom.getArticleA...
I'm considering html5, angularJS for data binding and also google closure compiler and the closure library for interactive web applications. Do those work nicely together? Unfortunately there seem to be no detailed reports up to now.  I have adob...
I have a website and my REST api server.  I do ajax post request to the REST server to create new model. Answer for this request will be "HTTP/1.1 201 Created" response with header "Location: http://myapi.com/some/path/111" But I get...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.