Skip to content

Commit

Permalink
Merge 88c5708 into 3afaa89
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] authored Feb 17, 2017
2 parents 3afaa89 + 88c5708 commit fc06b23
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# customize-engine-handlebars

[![Greenkeeper badge](https://badges.greenkeeper.io/bootprint/customize-engine-handlebars.svg)](https://greenkeeper.io/)

[![NPM version](https://badge.fury.io/js/customize-engine-handlebars.svg)](http://badge.fury.io/js/customize-engine-handlebars)
[![Travis Build Status](https://travis-ci.org/bootprint/customize-engine-handlebars.svg?branch=master)](https://travis-ci.org/bootprint/customize-engine-handlebars)
[![Coverage Status](https://img.shields.io/coveralls/bootprint/customize-engine-handlebars.svg)](https://coveralls.io/r/bootprint/customize-engine-handlebars)
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ module.exports = {
debug('Data after preprocessing:', data)
// We use the `promised-handlebars` module to
// support helpers returning promises
var hbs = promisedHandlebars(Handlebars)
var hbs = promisedHandlebars(Handlebars, {
Promise: Q.Promise
})

var partials = _.mapValues(contents(config.partials), config.partialWrapper)
hbs.registerPartial(partials)
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@
},
"dependencies": {
"debug": "^2.2.0",
"handlebars": "^3.0.3",
"lodash": "^3.9.3",
"m-io": "^0.3.1",
"promised-handlebars": "^1.0.0",
"handlebars": "^4.0.6",
"lodash": "^4.17.4",
"m-io": "^0.5.0",
"promised-handlebars": "^2.0.1",
"q": "^1.4.1",
"q-deep": "^1.0.1"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^5.2.0",
"chai-as-promised": "^6.0.0",
"customize": "^1.0.0",
"get-promise": "^1.4.0",
"ghooks": "^1.0.3",
"mocha": "^2.4.5",
"ghooks": "^2.0.0",
"mocha": "^3.2.0",
"thoughtful-release": "^0.3.0",
"trace-and-clarify-if-possible": "^1.0.0"
},
Expand Down

0 comments on commit fc06b23

Please sign in to comment.