oops
This commit is contained in:
parent
81bd5c176c
commit
134f93be86
|
@ -1,8 +1,5 @@
|
||||||
class window.AppView extends Backbone.View
|
class window.AppView extends Backbone.View
|
||||||
el: '#application'
|
el: '#application'
|
||||||
routes: {
|
|
||||||
'index': 'index'
|
|
||||||
}
|
|
||||||
template: JST['application/app_view']
|
template: JST['application/app_view']
|
||||||
initialize: ->
|
initialize: ->
|
||||||
controller = new Controller({app: this})
|
controller = new Controller({app: this})
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
var AppView = Backbone.View.extend({
|
var AppView = Backbone.View.extend({
|
||||||
el: '#application',
|
el: '#application',
|
||||||
routes: {
|
|
||||||
'index': 'index'
|
|
||||||
},
|
|
||||||
template: JST['application/app_view'],
|
template: JST['application/app_view'],
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
_.bindAll(this, 'render');
|
_.bindAll(this, 'render');
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
class window.Controller extends Backbone.Controller
|
class window.Controller extends Backbone.Controller
|
||||||
routes: {}
|
routes: {
|
||||||
|
'index': 'index'
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
var Controller = Backbone.Controller.extend({
|
var Controller = Backbone.Controller.extend({
|
||||||
routes: {}
|
routes: {
|
||||||
|
'index': 'index'
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue