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
After updating to revision 2156 of the Google Closure Library, goog.require() fails to find goog.ui.AutoComplete.
svn update
At revision 2156.
Error Message
goog.require could not find: goog.ui.AutoComplete.Remote base.js:333
Uncaught Error:…
I use the webkitAudioContext constructor, which is native to webkit browsers, in my application written using Google Closure javascript.
After I compiled my javascript using Plovr in ADVANCED mode, I found that the decodeAudioData method of my…
I faced a problem while using Google Closure Soy templates.
When I change a template I need to run a script from command line to compile Soy template to JS file. Is there a service or something else to rebuild these templates automatically?
Also,…
I'm cleaning up my code with the gjslint tool from Google Closure Tools. It is reporting the following error:
Line 15, E:0222: Member "this._dictionary" must not have @private JsDoc
And this is the code:
/**
* Stacker class.
* @constructor
*…
I'm hitting an error in advanced compilation mode.
Uncaught TypeError: Object # has no method 'attachEvent'
After some source map magic I figured that this is thrown from goog.events.listen call, where first argument is my custom object,…
I'm very newbie in closure,
I'm reading the tutorial at: https://developers.google.com/closure/library/docs/tutorial
and it says that
goog.provide('tutorial.notepad.Note');
is equivalent to
tutorial = tutorial || {};
tutorial.notepad =…
I currently have a click event in place that when selected appends a search box to .header, this is done using google closure. My problem now is if I click a close button I want to remove this appended element. I know using jQuery requires only…
I'm relatively new to the Google Closure library and my current obstacle is getting a button to render programmatically with an image (as opposed to text). I've tried adding a img tag as the content of the button:
var image =…
I followed the instructions at here, though I substituted 1.3.8 for the version, and I'm able to compile my JS in a wildcard folder as I wanted, however, I'm not quite sure where to place the closure library files so the compiler will pick them up. …
Is there any class (like goog.ui.dialog) that let me show a dialog which its content can be fetched by ajax from another file?
Is goog.ui.Dialog an appropriate class for this goal?
Shall I implement it by other fundamental classes such as…
Using Google Closure Library:
How can I handle clicking of an element for example a div but prevent firing the event handler when the user clicks the child elements of that element.
For example in the following code I want to fire the event handler…
This solution must use the google closure javascript library and not any other javascript library.
When a url loads I would like to dynamically open a split panel where one side contains the content of the url in an iframe and the other side…
I have a code base that uses the google-closure style modules goog.provide and classes, etc.
I want to modernize this code base but it's roughly 15k lines of code and I was hoping a tool could help me.
These tools are broken, I tried many things to…