Fix add global env to templateEngine

This commit is contained in:
Samy Pesse
2016-04-30 20:08:04 +02:00
parent b51470db39
commit 80b8e340da
+1 -1
View File
@@ -107,7 +107,7 @@ TemplateEngine.prototype.toNunjucks = function() {
});
// Add globals
globals.forEach(function(globalName, globalValue) {
globals.forEach(function(globalValue, globalName) {
env.addGlobal(globalName, globalValue);
});