Authored by 周少峰

format

@@ -12,7 +12,7 @@ var express = require('express'), @@ -12,7 +12,7 @@ var express = require('express'),
12 var app = express(); 12 var app = express();
13 13
14 // set view engin 14 // set view engin
15 -var doraemon = path.join(__dirname, '../../doraemon/views'); //parent view root 15 +var doraemon = path.join(__dirname, '../../doraemon/views'); // parent view root
16 16
17 app.on('mount', function(parent) { 17 app.on('mount', function(parent) {
18 delete parent.locals.settings; // 不继承父 App 的设置 18 delete parent.locals.settings; // 不继承父 App 的设置