Don't use deprecated arguments.callee

This commit is contained in:
aurimasv 2012-03-18 01:27:13 -05:00 committed by Simon Kornblith
parent 7b5d7bccf8
commit 1458315cd5

View file

@ -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";