Skip to content

Commit 0525ea1

Browse files
committed
Port for Angular 1.3.0
Angular 1.3.0 removes $httpProvider.responseInterceptors (source : angular/angular.js#7266) This may not be compatible with angular < 1.1.4 (before caitp/angular.js@4ae46814)
1 parent a329568 commit 0525ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/notificationWidget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ angular.module('notificationWidget', [])
4343
}
4444
}];
4545

46-
$httpProvider.responseInterceptors.push(interceptor);
46+
$httpProvider.interceptors.push(interceptor);
4747
}])
4848
// declare the notification pub/sub channel
4949
.factory('requestNotificationChannel', ['$rootScope', function($rootScope){

0 commit comments

Comments
 (0)