Permalink
Browse files

Reorganize.

  • Loading branch information...
1 parent 79d4613 commit 51b91d6444d3184a8326ee59b4f6f2b804990c0c @mattd committed Aug 26, 2012
View
@@ -6,7 +6,7 @@
<link rel="stylesheet" href="stylesheets/app.css">
<script src="javascripts/vendor.js"></script>
<script src="javascripts/app.js"></script>
- <script>require('initialize');</script>
+ <script>require('init');</script>
</head>
<body>
<!-- ApplicationView -->
@@ -1,5 +1,3 @@
var App = require('app');
-App.ApplicationController = Em.Controller.extend({
-
-});
+App.ApplicationController = Em.Controller.extend({});
File renamed without changes.
View
@@ -0,0 +1,8 @@
+window.App = require('app');
+
+require('models/init');
+require('controllers/init');
+require('views/init');
+require('router');
+
+App.initialize();
View
@@ -1,10 +0,0 @@
-
-window.App = require('app');
-
-require('templates');
-require('models');
-require('controllers');
-require('views');
-require('router');
-
-App.initialize();
View
No changes.
@@ -1,2 +1 @@
// load all your models here
-
View
@@ -1,14 +1,12 @@
var App = require('app');
App.Router = Em.Router.extend({
-
enableLogging: true,
root: Em.Route.extend({
-
index: Em.Route.extend({
route: '/',
redirectsTo: ''
})
})
-})
+})
View
@@ -1,3 +0,0 @@
-// load all your templates here
-
-require('templates/application');
View
@@ -2,4 +2,4 @@ var App = require('app');
App.ApplicationView = Em.View.extend({
templateName: require('templates/application')
-});
+});
File renamed without changes.

0 comments on commit 51b91d6

Please sign in to comment.