Sha256: 187638f7255cab2508542e82a5c29d33b1e731eb0c475918f5e3b162d91501cc

Contents?: true

Size: 530 Bytes

Versions: 11

Compression:

Stored size: 530 Bytes

Contents

$debug("Defining HTMLBodyElement");
/*
* HTMLBodyElement - DOM Level 2
*/
var HTMLBodyElement = function(ownerDocument) {
    this.HTMLElement = HTMLElement;
    this.HTMLElement(ownerDocument);
};
HTMLBodyElement.prototype = new HTMLElement;
__extend__(HTMLBodyElement.prototype, {
    onload: function(event){
        return __eval__(this.getAttribute('onload')||'', this)
    },
    onunload: function(event){
        return __eval__(this.getAttribute('onunload')||'', this)
    }
});

// $w.HTMLBodyElement = HTMLBodyElement;

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
envjs19-0.3.8.20101029121421 src/html/body.js
envjs-0.3.8 src/html/body.js
envjs-0.3.7 src/html/body.js
envjs-0.3.6 src/html/body.js
envjs-0.3.5 src/html/body.js
envjs-0.3.4 src/html/body.js
envjs-0.3.3 src/html/body.js
envjs-0.3.2 src/html/body.js
envjs-0.3.1 src/html/body.js
envjs-0.3.0 src/html/body.js
envjs-0.2.0 src/html/body.js