Browse files

Fix failed test

  • Loading branch information...
1 parent 8b77d52 commit d185d5cf3a4025fe578e6708d6fbdc565b108723 @richtera richtera committed Sep 10, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/calipso.js
  2. +1 −1 package.json
View
3 lib/calipso.js
@@ -294,13 +294,14 @@ function configureTheme(next, overrideTheme) {
if ((fs.existsSync || path.existsSync)(themeConfig.path + '/stylus'))
mw = calipso.app.mwHelpers.stylusMiddleware(themeConfig.path);
else
- mw = null;
+ mw = {tag:'theme.stylus'};
calipso.app.stack[key].handle = mw;
}
if (middleware.handle.tag === 'theme.static') {
foundMiddleware = true;
mw = calipso.app.mwHelpers.staticMiddleware(themeConfig.path);
+ mw.tag = 'theme.static';
calipso.app.stack[key].handle = mw;
}
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "calipso",
"description": "A NodeJS CMS",
- "version": "0.3.11",
+ "version": "0.3.12",
"homepage": "http://calip.so",
"repository": {
"type": "git",

0 comments on commit d185d5c

Please sign in to comment.