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