diff Lib/IMPL/Web/View/TTControl.pm @ 236:2904da230022

DOM refactoring
author sergey
date Mon, 15 Oct 2012 04:23:01 +0400
parents 2530d1bb9638
children b8c724f6de36
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTControl.pm	Fri Oct 12 02:08:51 2012 +0400
+++ b/Lib/IMPL/Web/View/TTControl.pm	Mon Oct 15 04:23:01 2012 +0400
@@ -41,10 +41,11 @@
     
     $this->id($name . "-" . _GetNextId()) unless $this->id;
     
-    weaken($this); # prevent cyclic references produced by the code below
+    #TODO: deprecated, cleanup
+    #weaken($this); # prevent cyclic references produced by the code below
     
-    $context->stash->set('append', sub { $this->appendChild(@_); undef; } );
-    $context->stash->set('select', sub { $this->selectNodes(@_); } );
+    #$context->stash->set('append', sub { $this->appendChild(@_); undef; } );
+    #$context->stash->set('select', sub { $this->selectNodes(@_); } );
 }
 
 sub InitInstance {