Skip to content
This repository
Browse code

dust-helpers support, latest version of dust

  • Loading branch information...
commit 062046b16a7712c279789daee476c538657e2ec6 1 parent 3df2bba
Manuel Ernst zaphod1984 authored

Showing 2 changed files with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. +5 1 lib/consolidate.js
  2. +2 1  package.json
6 lib/consolidate.js
@@ -143,7 +143,11 @@ exports.dust.render = function(str, options, fn){
143 143 try {
144 144 engine = requires.dust = require('dust');
145 145 } catch (err) {
146   - engine = requires.dust = require('dustjs-linkedin');
  146 + try {
  147 + engine = requires.dust = require('dustjs-helpers');
  148 + } catch (err) {
  149 + engine = requires.dust = require('dustjs-linkedin');
  150 + }
147 151 }
148 152 }
149 153
3  package.json
@@ -23,7 +23,8 @@
23 23 "haml-coffee": "1.4.0",
24 24 "hogan.js": "2.0.0",
25 25 "dust": "0.3.0",
26   - "dustjs-linkedin": "0.4.0",
  26 + "dustjs-linkedin": "1.2",
  27 + "dustjs-helpers":"1.1.1",
27 28 "handlebars": "1.0.5beta",
28 29 "underscore": "1.3.3",
29 30 "qejs": "0.0.1",

0 comments on commit 062046b

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