Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #93 from zaphod1984/master

Dustjs helpers, latest version of dust.js
  • Loading branch information...
commit c30203101508ef027dd0d96ad21315b5e94d54d6 2 parents 579da6b + f59d7e5
@tj authored
Showing with 7 additions and 2 deletions.
  1. +5 −1 lib/consolidate.js
  2. +2 −1  package.json
View
6 lib/consolidate.js
@@ -196,7 +196,11 @@ exports.dust.render = function(str, options, fn){
try {
engine = requires.dust = require('dust');
} catch (err) {
- engine = requires.dust = require('dustjs-linkedin');
+ try {
+ engine = requires.dust = require('dustjs-helpers');
+ } catch (err) {
+ engine = requires.dust = require('dustjs-linkedin');
+ }
}
}
View
3  package.json
@@ -23,7 +23,8 @@
"haml-coffee": "1.4.0",
"hogan.js": "2.0.0",
"dust": "0.3.0",
- "dustjs-linkedin": "0.4.0",
+ "dustjs-linkedin": "1.2",
+ "dustjs-helpers":"1.1.1",
"handlebars": "1.0.7",
"underscore": "1.3.3",
"qejs": "0.0.1",
Please sign in to comment.
Something went wrong with that request. Please try again.