diff _test/Resources/TTView/complex.tt @ 238:b8c724f6de36

DOM model refactoring TT view refactoring, controls are no longer derived from DOM nodes bugfixes
author sergey
date Tue, 16 Oct 2012 01:33:06 +0400
parents 7a920771fd8e
children 2d253e6e4a88
line wrap: on
line diff
--- a/_test/Resources/TTView/complex.tt	Mon Oct 15 17:39:12 2012 +0400
+++ b/_test/Resources/TTView/complex.tt	Tue Oct 16 01:33:06 2012 +0400
@@ -3,7 +3,7 @@
 
     BLOCK CTOR;
         TPanel = require('My/Org/Panel');
-        append( TPanel.new('information', data = data ) );
+        this.childNodes = [ TPanel.new('information', data = data ) ];
     END;
 
 %]