Fixes #88 - Assign global data to the correct out

This commit is contained in:
Patrick Steele-Idem 2015-06-05 19:02:28 -06:00
parent 89a8228987
commit 89a9b44dd8

View File

@ -185,7 +185,7 @@ Template.prototype = {
}
if (globalData) {
extend(out.global, globalData);
extend(finalOut.global, globalData);
}
// Invoke the compiled template's render function to have it