Sha256: 9c126e79e689e16d41788d1895ba2870c1514c0764b3d28663e95c36d73ad8cb

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

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

  	var elem = $w('#' + this.element_id)[0];
    return $w(elem).html();
  }
  
});

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_html_handler.js
whowish_word-0.1.8 lib/whowish_word/rails/public/javascripts/7_whowish_word_html_handler.js