Skip to content

Commit 5a77fcd

Browse files
bump version 0.7.0
1 parent 7ce8a1f commit 5a77fcd

7 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
==========
33

4+
## 0.7.0
5+
- Changes for animate.enter compatibility for 1.2 and 1.3 ([#170](https://github.com/chieffancypants/angular-loading-bar/pull/170))
6+
- Detect errors with other interceptors ([#133](https://github.com/chieffancypants/angular-loading-bar/pull/133), [#50](https://github.com/chieffancypants/angular-loading-bar/pull/50))
7+
- Provide more detail on response/responseError events ([#128](https://github.com/chieffancypants/angular-loading-bar/pull/128))
8+
- Change angular dependency in bower ([#126](https://github.com/chieffancypants/angular-loading-bar/issues/126))
9+
410
## 0.6.0
511
- Customize progress bar template: ([#111](https://github.com/chieffancypants/angular-loading-bar/pull/111))
612
- Only append bar to first parent found ([#108](https://github.com/chieffancypants/angular-loading-bar/pull/108))

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-loading-bar",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"main": [
55
"build/loading-bar.js",
66
"build/loading-bar.css"

build/loading-bar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* angular-loading-bar v0.6.0
2+
* angular-loading-bar v0.7.0
33
* https://chieffancypants.github.io/angular-loading-bar
44
* Copyright (c) 2015 Wes Cruver
55
* License: MIT

build/loading-bar.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* angular-loading-bar v0.6.0
2+
* angular-loading-bar v0.7.0
33
* https://chieffancypants.github.io/angular-loading-bar
44
* Copyright (c) 2015 Wes Cruver
55
* License: MIT
@@ -32,7 +32,7 @@ angular.module('chieffancypants.loadingBar', ['cfp.loadingBarInterceptor']);
3232
angular.module('cfp.loadingBarInterceptor', ['cfp.loadingBar'])
3333
.config(['$httpProvider', function ($httpProvider) {
3434

35-
var interceptor = ['$q', '$cacheFactory', '$timeout', '$rootScope', 'cfpLoadingBar', function ($q, $cacheFactory, $timeout, $rootScope, cfpLoadingBar) {
35+
var interceptor = ['$q', '$cacheFactory', '$timeout', '$rootScope', '$log', 'cfpLoadingBar', function ($q, $cacheFactory, $timeout, $rootScope, $log, cfpLoadingBar) {
3636

3737
/**
3838
* The total number of requests made
@@ -126,6 +126,9 @@ angular.module('cfp.loadingBarInterceptor', ['cfp.loadingBar'])
126126
},
127127

128128
'responseError': function(rejection) {
129+
if (!rejection.config) {
130+
$log.error('Other interceptors are not returning config object \n https://github.com/chieffancypants/angular-loading-bar/pull/50');
131+
}
129132
if (!rejection.config.ignoreLoadingBar && !isCached(rejection.config)) {
130133
reqsCompleted++;
131134
$rootScope.$broadcast('cfpLoadingBar:loaded', {url: rejection.config.url, result: rejection});

build/loading-bar.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/loading-bar.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-loading-bar",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "An automatic loading bar for AngularJS",
55
"main": "src/loading-bar.js",
66
"directories": {

0 commit comments

Comments
 (0)