Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories:
Computers > Internet
More group info »
Active older topics
8 new of 8 - May 20
8 new of 8 - May 20
4 new of 4 - May 18
1 new of 1 - May 18
12 new of 12 - May 17
1 new of 1 - May 15
2 new of 2 - May 15
3 new of 3 - May 15
5 new of 5 - May 14
5 new of 5 - May 14
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1418  Older »
Description: Welcome! Use this group to give feedback and discuss ways of improving Closure Library. Some suggested topics include ideas for new features, improvement of existing features and questions or comments around the high-level design of Closure Library.
 

how to tell if an object is an instance of a class or one of its subclasses 
  Is there a way to check if an object is an instance of a class or one of its subclasses? goog.typeOf() only gets me the exact class name. For example if a storage variable contains an instance of goog.storage.ExpiringStorage or one of its subclasses then I want to use the three-argument constructor, but if it isn't then I need to use the... more »
By John Munro  - 5:14pm - 4 new of 4 messages    

trivial patch for compiler errors 
  I'm getting these errors from the compiler (with VERBOSE): _closure-library\closure\goog\ events\eventhandler.js:180: WARNING - Bad type annotation. Unknown type goog.events.EventWrapper * @param {goog.events.EventWrapper} wrapper Event wrapper to use. ^ _closure-library\closure\goog\ events\eventhandler.js:248: WARNING - Bad... more »
By John Munro  - 3:01pm - 4 new of 4 messages    

allowing a class or any of its subclasses 
  I'm trying to pass a couple of constructors to a class so that it can internally create the instances, but the JSDoc notation is causing me problems. When I try to compile this: /** ... /** .../** ...I get this error from the Closure Compiler: filevision\storage\storage.js: 102: WARNING - actual parameter 1 of... more »
By John Munro  - May 23 - 3 new of 3 messages    

Mark down editor for Google Closure 
  Hi all, Before I venture into porting an existing Mark Down editor e.g EpicEditor to work as a Closure component, [link] thought I should ask if anyone is aware of another projects that's already trying to do this? Thanks a lot. Devraj... more »
By Devraj Mukherjee  - May 23 - 2 new of 2 messages    

Why gjslint shows so many errors on Closure Library code? 
 
By Daniel Steigerwald  - May 22 - 4 new of 4 messages    

closurebuilder, uncompiled dev environment 
  The closurebuilder tool has its doc here: [link] The section "Resolving Closure Library Dependencies" shows how to create a sequentially correct .js file list but isn't very explicit about how to use the list. I think I have resolved this but am noting my solution here for feedback.... more »
By dali  - May 22 - 4 new of 4 messages    

module question 
  I'm writing a web app that is made up of several pages, all of which make use of the Closure Library. Should I be compiling all of the js files together into one file or compiling a separate js file for each page? For example if my uncompiled source consists of page1.js and page2.js should I compile them both down to allpages-compiled.js or should I be... more »
By John Munro  - May 22 - 3 new of 3 messages    

require() issue - TypeError - newbie question 
  I have a *require('goog.editor.Seamless Field');* statement at the top of my js file. When I write *var test = goog.editor.SeamlessField;* further below in the file, I get a *TypeError: goog.editor is undefined* (this is not compiled). However, when I write the* var test..*. statement inside a *document.ready*function, it works.... more »
By dali  - May 22 - 4 new of 4 messages    

disposing things that exist for the lifetime of the page 
  Do I need to dispose of things that exist for the lifetime of the page? For example - the page loads and I create a goog.ui.TableSorter. It's going to be needed until the user navigates away from the page, at which point everything will be deleted anyway. Do I still need to explicitly dispose of it?... more »
By John Munro  - May 21 - 2 new of 2 messages    

submitting a trivial patch 
  I found what I think is a bug in the Closure Library. After submitting it to the issue tracker (560<[link]>) I found what I think is a solution - to add .goog-css3-button-checked to ../css/css3button.css. It's a pretty trivial change, but I'd like to be a good citizen and submit... more »
By John Munro  - May 20 - 3 new of 3 messages    

1 - 10 of 1418   « Newer | Older »

XML       Send email to this group: closure-library-discuss@googlegroups.com