express-handlebars-multi
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -5,2 +5,3 @@ 'use strict' | ||
const _ = require('lodash') | ||
const debug = require('debug')('request-handlebars-multi') | ||
const handlebars = require('handlebars') | ||
@@ -59,5 +60,12 @@ const mergeArgs = require('merge-args')() | ||
* | ||
* Express view engine render function | ||
* | ||
* @param {string} file | ||
* @param {object} options | ||
* @param {function} callback | ||
* | ||
* @throws {Error} | ||
*/ | ||
function render () { | ||
function render (file, options, callback) { | ||
debug('render', file, options) | ||
} | ||
@@ -72,2 +80,4 @@ | ||
GLOBAL = global.__express_handlebars_multi__ = _.cloneDeep(defaultConfig) | ||
} | ||
} | ||
/* private functions */ |
{ | ||
"author": "Ersun Warncke <ersun.warncke@gmail.com>", | ||
"dependencies": { | ||
"debug": "^2.6.0", | ||
"handlebars": "^4.0.6", | ||
"lodash": "^4.17.4", | ||
"merge-args": "^0.1.0" | ||
"merge-args": "^0.2.0" | ||
}, | ||
@@ -24,3 +25,3 @@ "description": "Express handlebars view engine with support for multiple layouts, partials, and views directories", | ||
}, | ||
"version": "0.0.1" | ||
"version": "0.0.2" | ||
} |
4481
85
4
+ Addeddebug@^2.6.0
+ Addeddebug@2.6.9(transitive)
+ Addedlodash@4.17.11(transitive)
+ Addedmerge-args@0.2.18(transitive)
+ Addedms@2.0.0(transitive)
- Removedmerge-args@0.1.0(transitive)
Updatedmerge-args@^0.2.0