fix download at chrome

This commit is contained in:
Matias Alejo Garcia 2015-05-28 14:55:48 -03:00
commit 8b506cdb84
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,10 @@ angular
['debug', 'info', 'warn', 'error', 'log'].forEach(function(level) {
var orig = $delegate[level];
$delegate[level] = function() {
if (level=='error')
console.log(arguments);
var args = [].slice.call(arguments);
if (!Array.isArray(args)) args = [args];
args = args.map(function(v) {