PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 1/*This file is part of Silex - see http://projects.silexlabs.org/?/silex
 2
 3Silex is Š 2010-2011 Silex Labs and is released under the GPL License:
 4
 5This 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. 
 6
 7This 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.
 8
 9To read the license please visit http://www.gnu.org/copyleft/gpl.html
10*/
11package cocktail.domElement;
12
13/**
14 * Set the right runtime specific DOMElement at compile-time
15 */
16#if flash9
17typedef DOMElement =  cocktail.domElement.as3.DOMElement;
18
19#elseif js
20typedef DOMElement =  cocktail.domElement.js.DOMElement;
21
22#elseif php
23typedef DOMElement =  cocktail.domElement.php.DOMElement;
24
25#elseif doc
26/**
27 * This is the class that must be instantiated, it is implemented
28 * for each cocktail targets
29 */
30class DOMElement extends cocktail.domElement.abstract.AbstractDOMElement { }
31
32#end