Don't use deprecated arguments.callee
This commit is contained in:
parent
7b5d7bccf8
commit
1458315cd5
1 changed files with 1 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ Zotero.Utilities = {
|
||||||
dumped_text += level_padding + "'" + item + "' => " + openBrace;
|
dumped_text += level_padding + "'" + item + "' => " + openBrace;
|
||||||
//only recurse if there's anything in the object, purely cosmetical
|
//only recurse if there's anything in the object, purely cosmetical
|
||||||
for(var i in value) {
|
for(var i in value) {
|
||||||
dumped_text += "\n" + arguments.callee(value,level+1,maxLevel,parentObjects.concat([value]),path.concat([item])) + level_padding;
|
dumped_text += "\n" + varDump(value,level+1,maxLevel,parentObjects.concat([value]),path.concat([item])) + level_padding;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
dumped_text += closeBrace + "\n";
|
dumped_text += closeBrace + "\n";
|
||||||
|
|
Loading…
Reference in a new issue