ee-templates
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -52,2 +52,5 @@ "use strict"; | ||
// need to remove leading slash | ||
if (typeof data.template === 'string' && data.template.length && data.template[0] === '/') data.template = data.template.substr(1); | ||
try { | ||
@@ -65,2 +68,2 @@ env.render(data.template, ctx, function(err, content){ | ||
} | ||
}); | ||
}); |
{ | ||
"name" : "ee-templates" | ||
, "description" : "Templating integration for the ee-soa-transport-rest based on Nunjucks" | ||
, "version" : "0.4.12" | ||
, "version" : "0.4.13" | ||
, "license" : "MIT" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael Rüfenacht <ruefe@rcky.ch> (http://www.rcky.ch)" |
52980
1061