Sha256: 1003340ffa99211a84d5da9354a0d9c3a7c688422ba11f6c78ecb36fa171698b
Contents?: true
Size: 645 Bytes
Versions: 11
Compression:
Stored size: 645 Bytes
Contents
$debug("Defining HTMLBaseElement"); /* * HTMLBaseElement - DOM Level 2 */ var HTMLBaseElement = function(ownerDocument) { //$log("creating anchor element"); this.HTMLElement = HTMLElement; this.HTMLElement(ownerDocument); }; HTMLBaseElement.prototype = new HTMLElement; __extend__(HTMLBaseElement.prototype, { get href(){ return this.getAttribute('href'); }, set href(value){ this.setAttribute('href',value); }, get target(){ return this.getAttribute('target'); }, set target(value){ this.setAttribute('target',value); } }); // $w.HTMLBaseElement = HTMLBaseElement;
Version data entries
11 entries across 11 versions & 2 rubygems