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