提交 e694a0af 编写于 作者: J Jason Park

not assign names to arguments of executeData/executeDataAndCode functions

上级 c286e59d
var executeData = function (tracerManager, data) { var executeData = function () {
try { try {
tracerManager.deallocateAll(); arguments[0].deallocateAll();
eval(data); eval(arguments[1]);
tracerManager.visualize(); arguments[0].visualize();
} catch (err) { } catch (err) {
return err; return err;
} finally { } finally {
tracerManager.removeUnallocated(); arguments[0].removeUnallocated();
} }
}; };
var executeDataAndCode = function (tracerManager, data, code) { var executeDataAndCode = function () {
try { try {
tracerManager.deallocateAll(); arguments[0].deallocateAll();
eval(data); eval(arguments[1]);
eval(code); eval(arguments[2]);
tracerManager.visualize(); arguments[0].visualize();
} catch (err) { } catch (err) {
return err; return err;
} finally { } finally {
tracerManager.removeUnallocated(); arguments[0].removeUnallocated();
} }
}; };
(function () { (function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册