Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / jsbuilder / src / generators / controller / templates / Controller.js
diff --git a/jsbuilder/src/generators/controller/templates/Controller.js b/jsbuilder/src/generators/controller/templates/Controller.js
new file mode 100644 (file)
index 0000000..ca509de
--- /dev/null
@@ -0,0 +1,9 @@
+Ext.generator.Controller.templates.Controller = new Ext.XTemplate(
+    'Ext.regController("{name}", {\n',
+    '<tpl for="actions">',
+    '    {.}: function() {\n',
+    '        \n',
+    '    }{[xindex != xcount ? ",\n\n" : ""]}',
+    '</tpl>',    
+    '\n});\n'
+);
\ No newline at end of file