diff Lib/IMPL/DOM/Node.pm @ 30:dd4d72600c69

ORM in works
author Sergey
date Tue, 03 Nov 2009 16:31:47 +0300
parents 7f00786f8210
children a8086f85a571
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Node.pm	Wed Oct 21 17:30:20 2009 +0400
+++ b/Lib/IMPL/DOM/Node.pm	Tue Nov 03 16:31:47 2009 +0300
@@ -42,7 +42,7 @@
     return $node;
 }
 
-sub appendNode {
+sub appendChild {
     my ($this,$node) = @_;
     
     die new IMPL::InvalidOperationException("You can't insert the node to itselft") if $this == $node;
@@ -57,6 +57,10 @@
     return $node;
 }
 
+sub appendNode {
+    goto &appendChild;
+}
+
 sub appendRange {
     my ($this,@range) = @_;