refactor(commander) function -> retFunc

This commit is contained in:
coderaiser 2013-10-22 11:27:51 +00:00
parent 8036e3be65
commit 64ac96651b

View file

@ -57,9 +57,7 @@
path : c.path
},
lFill = function(){
fillJSON(lFilesData);
};
lFill = Util.retFunc(fillJSON, lFilesData);
if (n)
for (var i = 0; i < n; i++) {