/src/cocktail/domElement/TextDOMElement.hx

http://github.com/silexlabs/Cocktail · Haxe · 32 lines · 10 code · 5 blank · 17 comment · 0 complexity · 12755ad015803016ac254b5c2ac7518c 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 TextDOMElement at compile-time
  10. */
  11. #if flash9
  12. typedef TextDOMElement = cocktail.domElement.as3.TextDOMElement;
  13. #elseif js
  14. typedef TextDOMElement = cocktail.domElement.js.TextDOMElement;
  15. #elseif php
  16. typedef TextDOMElement = cocktail.domElement.php.TextDOMElement;
  17. #elseif doc
  18. /**
  19. * This is the class that must be instantiated, it is implemented
  20. * for each cocktail targets
  21. */
  22. class TextDOMElement extends cocktail.domElement.abstract.AbstractTextDOMElement { }
  23. #end