Small perf improvement to bug 755346 - Global variables are not displayed in the debugger frontend, part2; r=vporof

This commit is contained in:
Panos Astithas 2012-05-29 14:22:18 +03:00
parent b4faddcfdf
commit bde61972f6

View File

@ -1699,9 +1699,13 @@ PropertiesView.prototype = {
let currScope = this._currHierarchy[i];
let prevScope = this._prevHierarchy[i];
if (!prevScope) {
continue;
}
for (let v in currScope.children) {
let currVar = currScope.children[v];
let prevVar = prevScope && prevScope.children[v];
let prevVar = prevScope.children[v];
let action = "";