Sha256: a0a4dca66ad0c0bef493c646fc6ebe6f9c85292b8f4e8992612942d926bba117
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
var WhowishWordAttributeHandler = WhowishWordContentHandler.extend({ init: function(elem,attributeName){ this.element = elem; this.attributeName = attributeName; }, setContent: function(content){ try { this.element[this.attributeName] = content; } catch(e) {} try { this.element.attributes[this.attributeName].value = content; } catch (e) {} $w(this.element).attr(this.attributeName, content); }, getContent: function(){ return $(this.element).attr(this.attributeName); } });
Version data entries
2 entries across 2 versions & 1 rubygems