Permalink
Browse files

Introduced commonJS modules for reusable components at modules/TitanT…

…ricksUIComponents.js
  • Loading branch information...
jaraen committed Oct 29, 2011
1 parent ac7da93 commit 7502e03ad3d9bac24a89835fa451699b47d1ecbc
View
BIN .DS_Store
Binary file not shown.
View
Binary file not shown.
@@ -5,6 +5,9 @@
var App = {};
+var TitanTricks = {};
+TitanTricks.ui = require('modules/TitanTricksUIComponents');
+
(function(){
tools.mixin(App, tools);
@@ -2,9 +2,7 @@
App.ui.demos.createViewImageResizer = {};
(function(){
-
-
-
+
App.ui.demos.createViewImageResizer = function(){
var view = App.ui.createViewDemo(demoInfo);
View
@@ -5,7 +5,6 @@
App.ui = {};
//indexates to components folder
-Ti.include('/app/ui/components/components.js');
Ti.include('/app/ui/demos/demos.js');
//ui views and styles

0 comments on commit 7502e03

Please sign in to comment.