Comparing version 2.3.0 to 2.3.1
@@ -302,5 +302,9 @@ /* | ||
} else if (name) { | ||
} else if (viewName) { | ||
// Look for a previously registered view matching the component name. | ||
view = this.views.find(viewName); | ||
// If no match, register a new empty view, for backwards compatibility. | ||
if (!view) { | ||
view = this.views.register(viewName, ''); | ||
} | ||
} else { | ||
@@ -307,0 +311,0 @@ view = this.views.register(viewName, ''); |
{ | ||
"name": "derby", | ||
"description": "MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"homepage": "http://derbyjs.com/", | ||
@@ -6,0 +6,0 @@ "repository": { |
277815
7229