diff Lib/IMPL/DOM/Node.pm @ 124:e30bdd040fe3

IMPL::Web::TT::Form concept
author wizard
date Thu, 10 Jun 2010 02:45:59 +0400
parents a7efb3117295
children e6447ad85cb4
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Node.pm	Wed Jun 09 17:53:12 2010 +0400
+++ b/Lib/IMPL/DOM/Node.pm	Thu Jun 10 02:45:59 2010 +0400
@@ -40,7 +40,9 @@
         weaken($this->{$document});
     }
     
-    $this->{$_propertyMap} = \%args;
+    while ( my ($key,$value) = each %args ) {
+    	$this->nodeProperty($key,$value);
+    }
 }
 
 sub insertNode {