Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Apr 12, 2016
2 parents 4527a2e + f6996cc commit 37ab185
Show file tree
Hide file tree
Showing 86 changed files with 1,121 additions and 9,160 deletions.
2 changes: 1 addition & 1 deletion app/app.multihost.js
Expand Up @@ -136,7 +136,7 @@ module.exports = function() {
error: 'Not found'
}));
app.use(middleware.err_server({
view: path.join('common', '500.jade'),
view: path.join('common', '500.hogan'),
error: 'Internal server error'
}));

Expand Down
2 changes: 1 addition & 1 deletion app/app.standalone.js
Expand Up @@ -155,7 +155,7 @@ module.exports = function() {
error: 'Not found'
}));
app.use(middleware.err_server({
view: path.join('common', '500.jade'),
view: path.join('common', '500.hogan'),
error: 'Internal server error'
}));

Expand Down
4 changes: 0 additions & 4 deletions app/config/settings.js
Expand Up @@ -83,10 +83,6 @@ var settings = { // Default settings
{ // Hogan template with .hogan extension
extension: 'hogan',
template: 'hogan'
},
{ // Jade template with .jade extension
extension: 'jade',
template: 'jade'
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion app/test/lib/middleware/err.js
Expand Up @@ -64,7 +64,7 @@ module.exports.err = {
}));

app.use(err_server({
view: 'common/500.jade'
view: 'common/500.hogan'
}));

this.app = app;
Expand Down
16 changes: 16 additions & 0 deletions app/views/common/500.hogan
@@ -0,0 +1,16 @@
<!--[if IE]><![endif]-->
<!DOCTYPE html>
<!--[if IE 9]> <html dir="{{dir}}" lang="{{lang}}" class="no-js ie9"> <![endif]-->
<!--[if gt IE 9]><!--> <html dir="{{dir}}" lang="{{lang}}" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Error</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h1>An error occurred!</h1>
<h1>Error: {{error.message}}</h1>
</body>
</html>
13 changes: 0 additions & 13 deletions app/views/common/500.jade

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/common/error.jade

This file was deleted.

5 changes: 2 additions & 3 deletions bower.json
@@ -1,6 +1,6 @@
{
"name": "webappengine",
"version": "0.7.1",
"version": "0.8.0",
"description": "A web application platform that can host multiple web apps running with Node.js.",
"ignore": [],
"dependencies": {
Expand All @@ -18,8 +18,7 @@
"async": "~1.4.2",
"jsUri": "~1.3.1",
"i18next": "~1.10.2",
"ionicons": "~2.0.1",
"Sortable": "~1.2.1"
"ionicons": "~2.0.1"
},
"overrides": {
"bootstrap": {
Expand Down
42 changes: 0 additions & 42 deletions bower_components/Sortable/.bower.json

This file was deleted.

12 changes: 0 additions & 12 deletions bower_components/Sortable/.editorconfig

This file was deleted.

5 changes: 0 additions & 5 deletions bower_components/Sortable/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions bower_components/Sortable/.jshintrc

This file was deleted.

18 changes: 0 additions & 18 deletions bower_components/Sortable/CONTRIBUTING.md

This file was deleted.

103 changes: 0 additions & 103 deletions bower_components/Sortable/Gruntfile.js

This file was deleted.

0 comments on commit 37ab185

Please sign in to comment.