google-closure-library Questions
6
Solved
I came across the goog.math.isFiniteNumber function in the Google Closure Library. What it does is checking whether a given number is both finite and not NaN.
The underlying code is:
goog.math.is...
Terminable asked 16/4, 2011 at 22:29
4
Solved
I have a class, ChatRoom, that can only render after it receives a long-running HTTP request (it could take 1 second or 30 seconds). So I need to delay rendering until ChatRoom.json is not null.
I...
Substrate asked 26/9, 2011 at 18:16
3
Solved
Using Google Chrome, if you console.log an object, it lets you inspect the element in the console. For example:
var a = { "foo" : "bar", "whiz" : "bang" };
console.log(a);
This prints out Object...
Combined asked 9/3, 2012 at 12:10
3
Solved
I'd like to use google's closure library in my typescript based environment and I wonder if there is an existing type definition file for the library?
I know that there is a converter for the oppo...
Cecilius asked 5/1, 2014 at 2:56
3
Solved
I'm trying to pull an integer out of localStorage with a simple clojurescript app. Everything I've tried ended up trying has some sort of wrong behavior.
Below is my program without initializing f...
Petrochemical asked 27/7, 2011 at 2:18
2
Solved
I recently switched to Google closure for a new project. I am having trouble adding the authenticity token to the headers in a ajax call. How do i go about it?
My Ajax snippet (using goog.net.XhrI...
Washwoman asked 29/6, 2010 at 13:26
3
Solved
During development on my localhost, I am trying to self host the libphonenumber library. I am trying with the following:
<script src="//closure-library.googlecode.com/svn/trunk/closure/goog/bas...
Denna asked 7/9, 2013 at 21:22
5
Solved
I'm trying to find a tool that generates HTML documentation for my Javascript source code.
Does anyone know if the tool that Google uses to generate the interface at the following URLs is open sou...
Bambi asked 29/9, 2010 at 5:9
1
I'm trying to migrate from the closurebuilder.py script to the Closure compiler because of this message:
../../closure-library/closure/bin/build/closurebuilder.py: Closure Compiler now natively un...
Cockneyfy asked 4/12, 2014 at 18:10
4
Solved
I am trying to teach myself the Google Closure javascript library. I am examining the TreeControl UI widget.
How can I use Chrome Console to analyze what functions are run when I click on the "Cut...
Vernon asked 13/6, 2012 at 4:1
1
Solved
I love using the Closure library and the ideas behind using the Closure Compiler with the library. I've used it in several projects already, such as Post This For Me. A resent project.
I'm t...
Weller asked 27/8, 2014 at 16:34
3
Solved
Why does goog.inherits from the Google Closure Library look like this:
goog.inherits = function(childCtor, parentCtor) {
function tempCtor() {};
tempCtor.prototype = parentCtor.prototype;
child...
Etsukoetta asked 23/4, 2014 at 8:50
2
Currently I am using just plain text in my Closure application. I want to add localizations to those text. I just found several articles about goog.getMsg function which is used to do this kind of ...
Usk asked 5/9, 2013 at 20:41
3
Solved
domA.style.display = "none";
domA.style.display = "block;
I could not find such functions in the library, but I guess they must have it somewhere.
Hypocycloid asked 23/12, 2009 at 19:34
3
Solved
In this snippet of Google Closure javascript code involving a constructor, why is goog.base(this); necessary? Doesn't Foo already inherit from Disposable with goog.inherits(foo, goog.Disposable);?
...
Starstarboard asked 20/6, 2012 at 15:12
7
Solved
We are trying to switch the packaging for our project from dojo to google closure, but we haven't had any luck so far. Here is a simple example that illustrates what we are trying to accomplish:
...
Elison asked 17/12, 2009 at 1:51
3
Does anyone have experience with Google Closure Editor/WYSIWYG? I'm thinking of moving from CKEDITOR to Google Closure Editor/WYSIWYG. Ideally I'd love to use the etherpad editor but it doesn't app...
Rumpf asked 23/7, 2010 at 5:10
4
Solved
I'm architecting an enterprise web application using python, django. My final decision to make is which javascript library to use. I'm thinking about using Google's closure library or YUI3. Most of...
Dimitris asked 24/9, 2011 at 0:33
2
Solved
For a project that I am working on I have been using a hodgepodge of JavaScript libraries. The main logic of my code is broken down into multiple commonjs modules. I use google closure to combine t...
Bummalo asked 1/1, 2013 at 15:44
0
Hi has anyone tried localizing their applications using google closure goog.getMsg() method. The issue is i am not able to get how to load the external file which contains translated strings and us...
Curtilage asked 3/12, 2012 at 8:37
1
Solved
Hi has any one used google's Closure Library https://developers.google.com/closure/ in building Phonegap applications on Android. I have read that Closure has good support for internationalization ...
Bellows asked 6/11, 2012 at 22:30
1
I made a custom Lime JS sprite class by doing:
test.obj = function() {
lime.Sprite.call(this);
.
.
this.label = new lime.Label(). ...;
this.appendChild(this.label);
}
goog.inherits(test.obj, ...
Copperas asked 28/7, 2012 at 17:29
1
Solved
I have an html text like:
'<div class="a"><span>1</span><div>2</div></div>'
Is there a function in closure library to get such a string as input and return a ...
Sentinel asked 7/9, 2012 at 13:2
2
Solved
When I put a comment above my variable or function with @private in it what is it actually doing? I have looked at the documentation but I'm still not sure.
goog.provide('myproject');
/** @privat...
Moreau asked 6/7, 2012 at 19:23
2
Solved
I'm learning about google closure tools by writing a simple JavaScript game. I'm having trouble figuring out how to set up jsTestDriver so that it works well with closure library.
Specifically: I'...
Territoriality asked 1/6, 2012 at 20:15
1 Next >
© 2022 - 2024 — McMap. All rights reserved.