WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 7ae6a08

Browse files
committed
Update angular-logger.js
1 parent d413073 commit 7ae6a08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/angular-logger.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var LoggingEnhancer = require('../bower_components/better-logging-base/dist/logg
5858
*/
5959
}]).
6060

61-
config(["$provide", "logEnhancerProvider", function ($provide, p) {
62-
$provide.decorator("$log", ['$delegate', function ($delegate) {
61+
config(['$provide', 'logEnhancerProvider', function ($provide, p) {
62+
$provide.decorator('$log', ['$delegate', function ($delegate) {
6363
return {
6464
// keep original methods, otherwise the enhanced functions on .getInstance() will have a double (global context) prefix
6565
$$orig$log: angular.extend({}, $delegate),
@@ -83,4 +83,4 @@ var LoggingEnhancer = require('../bower_components/better-logging-base/dist/logg
8383
logEnhancer.enhanceAngularLog($log);
8484
$log.info('logging enhancer initiated');
8585
}]);
86-
}(new LoggingEnhancer(window.sprintf, window.moment), window.angular, window.sprintf, window.moment));
86+
}(new LoggingEnhancer(window.sprintf, window.moment), window.angular, window.sprintf, window.moment));

0 commit comments

Comments
 (0)