Sha256: 1f4165a67b0f2482134efa1c1aa0b87e0a649e580428549793db2b2c47cea47c

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

var WhowishWordTextCreator = WhowishWordCommonCreator.extend({
	
	identity: function() {
		return 'text';
	},
	
	getContent: function() {
		return $w(this.element).text();
	},
	
	setContent: function(content) {
		$w(this.element).text(content);
	},
	
	instantiateAndGetContentHandler: function() {
		return new WhowishWordTextHandler(this.element);
	}

  
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whowish_word-0.1.6 lib/whowish_word/rails/public/javascripts/6_whowish_word_text_creator.js
whowish_word-0.1.5 lib/whowish_word/rails/public/javascripts/6_whowish_word_text_creator.js
whowish_word-0.1.4 lib/whowish_word/rails/public/javascripts/6_whowish_word_text_creator.js