Sha256: 36054394edf1abb7920b2aef435a8ff0e79e9256343e9ac3210d534ab663a6d2
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
var WhowishWordTextHandler = WhowishWordContentHandler.extend({ init: function(elem){ this.element_id = elem.id; }, setContent: function(content){ var elem = $w('#' + this.element_id)[0]; $w(elem).text(content); }, getContent: function() { var elem = $w('#' + this.element_id)[0]; return $w(elem).text(); } });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whowish_word-0.1.9 | lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js |
whowish_word-0.1.8 | lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js |