examples/layout/viewpanel.bjs
authorChris <chris@roojs.com>
Mon, 21 Oct 2013 10:28:21 +0000 (18:28 +0800)
committerChris <chris@roojs.com>
Mon, 21 Oct 2013 10:28:21 +0000 (18:28 +0800)
examples/layout/viewpanel.js

examples/layout/viewpanel.bjs
examples/layout/viewpanel.js

index 6c21821..1496064 100644 (file)
@@ -11,7 +11,7 @@
             "items": [
                 {
                     "xtype": "View",
-                    "|": "function(_self)\n{\n    Roo.log(_self);   \n}\n",
+                    "|render": "function(_self)\n{\n    Roo.log(_self);   \n}\n",
                     "|xns": "Roo",
                     "items": [
                         {
index 83726e6..4ff901a 100644 (file)
@@ -21,7 +21,7 @@ viewpanel = new Roo.XComponent({
                 {
                     xtype: 'View',
                     xns: Roo,
-                     : function(_self)
+                    render : function(_self)
                     {
                         Roo.log(_self);   
                     },