diff --git a/docs/guides/components.md b/docs/guides/components.md index 4273cc791..be1bc639f 100644 --- a/docs/guides/components.md +++ b/docs/guides/components.md @@ -92,13 +92,13 @@ module.exports = class Tabs ``` diff --git a/lib/App.server.js b/lib/App.server.js index 3b94ae1dc..4abb2dabf 100644 --- a/lib/App.server.js +++ b/lib/App.server.js @@ -45,18 +45,18 @@ App.prototype._init = function() { this.views.register('Page', '' + '' + - '' + - '' + - '' + - '', + '' + + '' + + '' + + '', {serverOnly: true} ); this.views.register('TitleElement', - '<view name="{{$render.prefix}}Title"></view>' + '<view is="{{$render.prefix}}Title"></view>' ); this.views.register('BodyElement', '' + - '' + '' ); this.views.register('Title', 'Derby App'); this.views.register('Styles', '', {serverOnly: true}); @@ -206,7 +206,7 @@ App.prototype.loadViews = function(filename, namespace) { App.prototype.loadStyles = function(filename, options) { this._loadStyles(filename, options); var stylesView = this.views.find('Styles'); - stylesView.source += ''; + stylesView.source += ''; // Make chainable return this; };