Browse Source

Remove "Node", now in flash.FlashXml__.hx

Pascal Peridont 19 years ago
parent
commit
029bccf4e8
1 changed files with 0 additions and 31 deletions
  1. 0 31
      std/flash/Boot.hx

+ 0 - 31
std/flash/Boot.hx

@@ -168,37 +168,6 @@ class Boot {
 			flash.system.Capabilities = System.capabilities;
 			flash.system.Security = System.security;
 			flash.system.IME = System["IME"];
-			Node = _global["XMLNode"];
-			Node.prototype.removeChild = Node.prototype.removeNode;
-			Node.prototype.replaceChild = function(cnew,cold) {
-				this.insertBefore(cnew,cold);
-				this.removeChild(cold);
-			};
-			Node.prototype.nodes = function() {
-				return untyped {
-					p : 0,
-					a : this.childNodes,
-					next : function() {
-						while( true ) {
-							var x = this.a[this.p];
-							if( x == null )
-								return null;
-							this.p++;
-							if( x.nodeType == 1 )
-								return x;
-						}
-						return null;
-					},
-					hasNext : function() {
-						var x = this.next();
-						if( x != null ) {
-							this.p--;
-							return true;
-						}
-						return false;
-					}
-				};
-			};
 			Array.prototype.copy = Array.prototype.slice;
 			Array.prototype.insert = function(i,x) {
 				this.splice(i,0,x);