Ver Fonte

added Document.createTextNode

Nicolas Cannasse há 15 anos atrás
pai
commit
9ffb0201f1
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      doc/CHANGES.txt
  2. 1 0
      std/js/Dom.hx

+ 1 - 0
doc/CHANGES.txt

@@ -1,5 +1,6 @@
 2010-??-??: 2.06
 	neko : change serializer to be able to handle instances of basic classes from other modules
+	js : add Document.createTextNode
 
 2010-01-09: 2.05
 	js : added js.Scroll

+ 1 - 0
std/js/Dom.hx

@@ -185,6 +185,7 @@ typedef Document = {> HtmlDom,
 	function getElementById( id : String ) : HtmlDom;
 	function getElementsByName( name : String ) : HtmlCollection<HtmlDom>;
 	function createElement( name : String ) : HtmlDom;
+	function createTextNode( text : String ) : HtmlDom;
 }
 
 typedef Event = {