summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-08-22 15:31:37 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-08-22 15:31:37 -0400
commit17eafa2d31bfc9f2bad2095be6cfee5f36c7aa55 (patch)
treee477c4b6a0980c57ef14477c1a839caf86a62156
parent75fc800a5e9b6a77983147483f4a0aed15d3bd75 (diff)
downloadaskbot-17eafa2d31bfc9f2bad2095be6cfee5f36c7aa55.tar.gz
askbot-17eafa2d31bfc9f2bad2095be6cfee5f36c7aa55.tar.bz2
askbot-17eafa2d31bfc9f2bad2095be6cfee5f36c7aa55.zip
edited a comment in js
-rw-r--r--askbot/skins/common/media/js/utils.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/askbot/skins/common/media/js/utils.js b/askbot/skins/common/media/js/utils.js
index a0e3851b..244960ce 100644
--- a/askbot/skins/common/media/js/utils.js
+++ b/askbot/skins/common/media/js/utils.js
@@ -460,6 +460,12 @@ TippedInput.prototype.createDom = function() {
* decorate() method normally does not create
* new dom elements, but it might add some missing elements,
* if necessary.
+ *
+ * for example the decorate might be composing inside
+ * a more complex widget, in which case other elements
+ * can be added via a "composition" pattern, or
+ * just "naked dom elements" added to the current widget's element
+ *
*/
TippedInput.prototype.decorate = function(element){
this._element = element;//mandatory line