Skip to content

Commit

Permalink
fix global variable leak
Browse files Browse the repository at this point in the history
  • Loading branch information
akdubya committed Dec 17, 2010
1 parent b116340 commit 0c6d0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dust.js
Expand Up @@ -38,7 +38,7 @@ dust.compileFn = function(source, name) {
};

dust.load = function(name, chunk, context) {
tmpl = dust.cache[name];
var tmpl = dust.cache[name];
if (tmpl) {
return tmpl(chunk, context);
} else {
Expand Down

0 comments on commit 0c6d0cf

Please sign in to comment.