thanhlong203 / closure-library

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

component js wasDecorated_ wrong docs #294

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
wrong:

/**
 * Flag used to keep track of whether a component decorated an already existing
 * element or whether it created the DOM itself.  If an element was decorated
 * dispose will remove the node from the document, it is left up to the app.
 * @type {boolean}
 * @private
 */
goog.ui.Component.prototype.wasDecorated_ = false;

should be:

If an element was decorated, dispose will NOT remove the node from the document,

or 

If an element was rendered, dispose will remove the node from the document,

Original issue reported on code.google.com by steida...@gmail.com on 20 Mar 2011 at 5:48

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

Original comment by nicksan...@google.com on 22 Mar 2011 at 9:56