feature(util) rm logArray

This commit is contained in:
coderaiser 2014-10-29 04:38:21 -04:00
parent dd3c3ac441
commit 28da3c2e76
2 changed files with 1 additions and 16 deletions

View file

@ -149,7 +149,7 @@ var CloudCmd, Util, join, DOM, CloudFunc, Github, cb;
if (error)
Util.log(error);
else
Util.logArray([data, data.html_url]);
Util.log(data, data.html_url);
Util.exec(callback);
DOM.Images.hide();

View file

@ -255,21 +255,6 @@
return args.join(' ');
};
/**
* log array of elements
* @param array
*/
this.logArray = function(array) {
var isArray = Util.type.array(array);
if (isArray)
array.forEach(function(item) {
Util.log(item);
});
return array;
};
/**
* function log pArg if it's not empty
* @param pArg