Skip to content
Browse files

0.1.4 allow pubs per view

  • Loading branch information...
1 parent ea3b104 commit 29ea3e63b439b632a0abe3e7c6450b11457a9a4e @haraldrudell committed Sep 18, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −1 lib/webfillerinit.js
  2. +1 −1 package.json
  3. +1 −1 test/test-expressadapter.js
View
3 lib/webfillerinit.js
@@ -74,7 +74,8 @@ function initWebFiller(defaults, opts, callback) {
}
// make fragments and styling available to frontend
- var defView = defaults.webfiller && defaults.webfiller.defaultViewName || defaultViewName
+ var defView = defaults.webfiller && defaults.webfiller.defaultViewName
+ if (defView !== false && !defView) defView = defaultViewName
filewriter.write(opts.webFillerFolder, viewStructure, defView, opts.defExt, writeDone)
function writeDone(err) {
View
2 package.json
@@ -15,7 +15,7 @@
],
"homepage": "https://github.com/haraldrudell/webfiller",
"bugs": "https://github.com/haraldrudell/webfiller/issues",
- "version": "0.1.3",
+ "version": "0.1.4",
"contributors": [
"Harald Rudell <harald@allgoodapps.com> (http://www.haraldrudell.com)"
],
View
2 test/test-expressadapter.js
@@ -160,7 +160,7 @@ exports['Add routes:'] = {
views: path.join(__dirname, 'testviews', 'home'),
},
get: mockGet,
- handler: true,
+ handle: true,
}
var routes = [
{

0 comments on commit 29ea3e6

Please sign in to comment.
Something went wrong with that request. Please try again.