fix download at chrome
This commit is contained in:
parent
2c27cc1052
commit
8b506cdb84
2 changed files with 5 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue