Closure Library is a JavaScript framework used by Google and one of three components to Closure Tools, an open source toolset to aid with developing front-end web applications
goog.net.XhrIo.send in Closure Library outputs "undefined" error in Safari v8.0.5, whereas it works fine on Chrome and FireFox.
What can I do to solve this error?
What are the possible causes?
Static Access
goog.net.XhrIo.send('filename.json',…
It's been a while since I've used Closure library + advanced mode with the compiler. My compilation is outputting this:
({})();
and I'm getting this compilation warning:
Error: index.js:4: WARNING - {} expressions are not callable…
I am currently experimenting with different JavaScript module formats and loader and also wanted to try out Google Closure.
I've got the basic example working, but can't figure out how to use goog.require for an external library. Let's take JQuery…
I am (still) new to ClojureScript an understand the browser repl makes use of an iframe. I am trying to introduce the ClojureScript application in an existing app and it would be convenient to add the generated JavaScript to in the head of the…
I've recently created a JavaScript library using Google's Closure Compiler: https://github.com/bvaughn/task-runner
I intend for this library to be used by applications that also require the full Closure Library, and so I want the built version of my…
I am using google closure, I am currently trying to use the timezonelist class which is
http://docs.closure-library.googlecode.com/git/local_closure_goog_locale_timezonelist.js.html
The thing is that any functions in this class depends on…
I'm using Google closure library and registering for click and mouse move event. I get the click event, however Mouse move event doesn't come. This is observed for Chrome browser, get the same event in Firefox
I would like to use the Closure-Library to encode data with AES.
When studying the library I found this aes-test: https://github.com/google/closure-library/blob/master/closure/goog/crypt/aes_test.js and the implementation with following…
In order to invoke various instance methods of goog.i18n.TimeZone, I've tried pretty good number of combinations of goog.require() and goog.inherits() but still didn't reach the goal. Please can someone let me know what should be the correct way to…
Plz throw some light on uploading file using google closure (single file and multiple files). I am using spring mvc controller at server side to save the file.
I went through this article on stackoverflow but the url mentioned there is obsolete.…
Is there a way to obtain the underlying object from dom element.
For instance.
I have a base class which renders some buttons using
goog.ui.CustomButton.
In the child class I want to get underlying goog.ui.CustomButton
object through the generated…
I'm trying to get together a basic example of how to use Google Closure to minify JS. I can't seem to get this to work at all.
I'm trying to follow these…
I checked out the latest plovr and added closure to my project using bower. while compiling the code with closure-compiler.jar in advanced_compilation works without any error or warning, using plovr gives the following…
i am using plovr for developing a closure application. and that i am often using plovr in serve mode. from this source code of plovr and this post from the author it seems that plovr also supports compiling closure stylesheets (gss).
with that in…