Sha256: 07364882f76e97124412d291a91b5c8908df8d435808af27c2cbb83d01dbc2d2

Contents?: true

Size: 742 Bytes

Versions: 11

Compression:

Stored size: 742 Bytes

Contents

/*
 * This file is a component of env.js,
 *     http://github.com/gleneivey/env-js/commits/master/README
 * a Pure JavaScript Browser Environment
 * Copyright 2009 John Resig, licensed under the MIT License
 *     http://www.opensource.org/licenses/mit-license.php
 */


$debug("Defining HTMLDivElement");
/*
* HTMLDivElement - DOM Level 2
*/
var HTMLDivElement = function(ownerDocument) {
    this.HTMLElement = HTMLElement;
    this.HTMLElement(ownerDocument);
};
HTMLDivElement.prototype = new HTMLElement;
__extend__(HTMLDivElement.prototype, {
    get align(){
        return this.getAttribute('align') || 'left';
    },
    set align(value){
        this.setAttribute('align', value);
    }
});

// $w.HTMLDivElement = HTMLDivElement;

Version data entries

11 entries across 11 versions & 2 rubygems

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