Fixing variable interpretation with frames

This commit is contained in:
Tom MacWright 2011-10-20 04:30:24 -04:00
parent 5b3e00af97
commit 634e9014e2

View File

@ -15,7 +15,7 @@ tree.Variable.prototype = {
if (this._css) return this._css;
var thisframe = env.frames.filter(function(f) {
return f.name == this.name;
return f.name == that.name;
});
if (thisframe.length) {
return thisframe[0].value.eval(env);