This commit is contained in:
John Bintz 2011-05-19 20:58:34 -04:00
parent 81bd5c176c
commit 134f93be86
4 changed files with 6 additions and 8 deletions

View File

@ -1,8 +1,5 @@
class window.AppView extends Backbone.View
el: '#application'
routes: {
'index': 'index'
}
template: JST['application/app_view']
initialize: ->
controller = new Controller({app: this})

View File

@ -1,8 +1,5 @@
var AppView = Backbone.View.extend({
el: '#application',
routes: {
'index': 'index'
},
template: JST['application/app_view'],
initialize: function() {
_.bindAll(this, 'render');

View File

@ -1,2 +1,4 @@
class window.Controller extends Backbone.Controller
routes: {}
routes: {
'index': 'index'
}

View File

@ -1,4 +1,6 @@
var Controller = Backbone.Controller.extend({
routes: {}
routes: {
'index': 'index'
}
});