thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.demos.SampleComponent.prototype.decorateInternal should declare {Element} as its parameter #256

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in closure/goog/demos/samplecomponent.js, decorateInternal is defined as 
follows:

/**
 * Decorates an existing HTML DIV element as a SampleComponent.
 *
 * @param {HTMLElement} element The DIV element to decorate. The element's
 *    text, if any will be used as the component's label.
 */
goog.demos.SampleComponent.prototype.decorateInternal = function(element) {

@param {HTMLElement} should be changed to @param {Element}

Original issue reported on code.google.com by bolinf...@gmail.com on 9 Jan 2011 at 1:52

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 10 Jan 2011 at 11:58

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r636.

Original comment by pall...@google.com on 20 Jan 2011 at 9:04