Fix error template, convert rest of space indents to tabs

This commit is contained in:
Timothy Warren 2014-09-18 16:43:52 -04:00
parent 2adb689553
commit 3ec3efca0d
6 changed files with 26 additions and 16549 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,22 +1,22 @@
{ {
"name": "node-task", "name": "node-task",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./bin/www" "start": "node ./bin/www"
}, },
"dependencies": { "dependencies": {
"express": "~4.9.0", "express": "~4.9.0",
"body-parser": "~1.8.1", "body-parser": "~1.8.1",
"cookie-parser": "~1.3.3", "cookie-parser": "~1.3.3",
"morgan": "~1.3.0", "morgan": "~1.3.0",
"serve-favicon": "~2.1.3", "serve-favicon": "~2.1.3",
"debug": "~2.0.0", "debug": "~2.0.0",
"consolidate":"*", "consolidate":"*",
"dustjs-linkedin":"*", "dustjs-linkedin":"*",
"dustjs-helpers":"*", "dustjs-helpers":"*",
"nodeunit":"*", "nodeunit":"*",
"mysql":"*", "mysql":"*",
"node-memcache":"*" "node-memcache":"*"
} }
} }

View File

@ -1,8 +1,8 @@
body { body {
padding: 50px; padding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
} }
a { a {
color: #00B7FF; color: #00B7FF;
} }

View File

@ -3,7 +3,7 @@ var router = express.Router();
/* GET home page. */ /* GET home page. */
router.get('/', function(req, res) { router.get('/', function(req, res) {
res.render('index', { title: 'Express' }); res.render('index', { title: 'Express'});
}); });
module.exports = router; module.exports = router;

View File

@ -3,7 +3,7 @@ var router = express.Router();
/* GET users listing. */ /* GET users listing. */
router.get('/', function(req, res) { router.get('/', function(req, res) {
res.send('respond with a resource'); res.send('respond with a resource');
}); });
module.exports = router; module.exports = router;

View File

@ -4,9 +4,7 @@
{<content} {<content}
<h1>{message}</h1> <h1>{message}</h1>
<h2>{error.status}</h2> <h2>{error.status}</h2>
{#error.stack}
<pre> <pre>
{~n} {error.stack}
</pre> </pre>
{/error.stack}
{/content} {/content}