Sha256: b2baf5539b9a8dbda74018a8f44615376fa587030d56d52f53535205e233936a

Contents?: true

Size: 348 Bytes

Versions: 26

Compression:

Stored size: 348 Bytes

Contents

var WhowishWordTextHandler = WhowishWordContentHandler.extend({
	
  init: function(elem){
    this.elementId = elem.id;
  },
  
  setContent: function(content){
  	var elem = $w('#' + this.elementId)[0];
    $w(elem).text(content);
  },
  
  getContent: function() {
  	var elem = $w('#' + this.elementId)[0];
    return $w(elem).text();
  }
  
});

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
whowish_word-1.0.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.5 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.4 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.3 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.2 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.2gem lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.1 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.6.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.5 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.4 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.3 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.2 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.1 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.5.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.4.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.3.3 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.3.2 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.3.1 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.3.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.2.7 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js