Comparing version 2.0.1 to 2.0.2
@@ -17,3 +17,2 @@ /* | ||
var PageBase = require('./Page'); | ||
var serializedViews = require('./_views'); | ||
@@ -69,2 +68,3 @@ module.exports = App; | ||
this.model = new this.derby.Model(); | ||
var serializedViews = this._views(); | ||
serializedViews(derbyTemplates, this.views); | ||
@@ -76,2 +76,6 @@ // Must init async so that app.on('model') listeners can be added. | ||
App.prototype._views = function () { | ||
return require('./_views'); | ||
} | ||
App.prototype._finishInit = function() { | ||
@@ -78,0 +82,0 @@ var script = this._getAppStateScript(); |
{ | ||
"name": "derby", | ||
"description": "MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "http://derbyjs.com/", | ||
@@ -6,0 +6,0 @@ "repository": { |
228581
5910