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 »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 1229  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.
 

Annotation Feature Wishes (Type Templates & Functions with Properties) 
  Hi guys, here are two feature wishes regarding the Google Closure Library Annotation System. 1. Functions with properties function iReturnAFunctionWithAdditional Properties(a) { var x = a; var *f* = function(opt_b) { if(arguments.length == 0) return x; else x = opt_b; }; *f.hello* = function(text){alert(text); return x;};... more »
By Bernd Wessels  - May 30 - 1 new of 1 message    

Setting up unit tests 
  We are prospecting to port our project's JS unit tests to the google's closure library jsUnit testing facilities. Is there a way we can have unit testing on compiled code? Our reasoning behind this is to test that the compiled API of our application (website) works after compilation, so as to make sure no... more »
By Thanasis Polychronakis  - May 27 - 5 new of 5 messages    

@preserveTry Annotation? 
  I was reading the source of debug.js and noticed a /* @preserveTry */ annotation just before a try{} statement... [link] Is this annotation required? What are its effects? I could not find any documentation about it...... more »
By Thanasis Polychronakis  - May 27 - 2 new of 2 messages    

Strange behaviour overriding ComboBox.dispatchEvent 
  Hi All, I'm trying to do my own ComboBox that extends goog.ui.ComboBox; just so I can keep track of the selected MenuItem rather than just work with the text captions. So I thought overriding the dispatchEvent method would be the best way to do this so I have: /** @inheritDoc */ my.MyComboBox.prototype.dispat chEvent = function(e) {... more »
By Guido Tapia  - May 28 - 4 new of 4 messages    

Annotation Problem - How to declare a returned function with dynamically attached properties ? 
  Hi guys, I am trying to figure out the right annotation for the following code: goog.provide('goog.observable' ); /** * @interface * @param {*=} opt_value */ goog.iObservable = function(opt_value) {}; /** * @type {number} */ goog.iObservable.prototype.sub scriptionID; /** * @type {Object} */ goog.iObservable.prototype.sub scriptions;... more »
By Bernd Wessels  - May 28 - 7 new of 7 messages    

soynode -- request for feedback 
  Hey all, Here at Obvious we're using the Closure Compiler (via Plovr<[link]>) and parts of the Library on the web client. The frontend server is node.js and we have no plans of using Closure there for the foreseeable future. To date we've been using Hogan.js <[link]> for... more »
By Dan Pupius  - May 24 - 3 new of 3 messages    

Add Style to button 
  I am trying to implement button dynamically. Here is my code: ............. var button = new goog.ui.Button('Hello!'); button.render(goog.dom.getElem ent('buttonDiv')); // button div in HTML button.addClassName('className '); button.setId('idName'); ............. the contents of my css file are:... more »
By Abhi120  - May 23 - 2 new of 2 messages    

Style to a Button 
  I am trying to implement button dynamically. Here is my code: ............. var button = new goog.ui.Button('Hello!'); button.render(goog.dom.getElem ent('buttonDiv')); // button div in HTML button.addClassName('className '); button.setId('idName'); ............. the contents of my css file are:... more »
By siddharth trikha  - May 23 - 1 new of 1 message    

Closure UI package design goals under rendering 
  I'm wondering why dom structure is created when render() method is invoked ? Why dom structure is not created in ui widget constructor, then we can operate on widget dom structure right away (even if it's not in document). In google closure approach, when we have some widget method (setTitle for example) we have to remember to handle situation... more »
By Paweł Gałązka  - May 22 - 5 new of 5 messages    

goog.scope() is not meant to alias defining class itself, right? 
  If I want to alias defining class using goog.scope, I should write like this: ============================== =================== goog.provide('app.MyClass'); /** * @constructor */ app.MyClass = function() { /** * @type {!app.SomeType} * @private */ this.f_ = new app.SomeType(); ...goog.scope(function() {... more »
By Alexander Samilyak  - May 22 - 3 new of 3 messages    

1 - 10 of 1229   « Newer | Older »

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