/src/cocktail/domElement/DOMElement.hx
http://github.com/silexlabs/Cocktail · Haxe · 32 lines · 10 code · 5 blank · 17 comment · 0 complexity · 12ac9a56673ed97f7fa24dba0999c8e8 MD5 · raw file
- /*This file is part of Silex - see http://projects.silexlabs.org/?/silex
- Silex is  2010-2011 Silex Labs and is released under the GPL License:
- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- To read the license please visit http://www.gnu.org/copyleft/gpl.html
- */
- package cocktail.domElement;
- /**
- * Set the right runtime specific DOMElement at compile-time
- */
- #if flash9
- typedef DOMElement = cocktail.domElement.as3.DOMElement;
- #elseif js
- typedef DOMElement = cocktail.domElement.js.DOMElement;
- #elseif php
- typedef DOMElement = cocktail.domElement.php.DOMElement;
- #elseif doc
- /**
- * This is the class that must be instantiated, it is implemented
- * for each cocktail targets
- */
- class DOMElement extends cocktail.domElement.abstract.AbstractDOMElement { }
- #end