Sha256: 108546a4d58fc0e0725fb97bbca9006a14cf40508e7dc66a8f0b0ac8a294e393

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

var WhowishWordTextHandler = WhowishWordContentHandler.extend({
	
  init: function(elem){
    this.element = elem;
  },
  
  setContent: function(content){
    $w(this.element).text(content);
  },
  
  getContent: function() {
    return $w(this.element).text();
  }
  
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whowish_word-0.1.7 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.1.3 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.1.2 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.1.1 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js
whowish_word-0.1.0 lib/whowish_word/rails/public/javascripts/7_whowish_word_text_handler.js