Skip to content

Commit 4cc49a7

Browse files
bump version 0.5.0
1 parent a76b43f commit 4cc49a7

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

CHANGELOG.md

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

4+
## 0.5.0
5+
- Added spinner template configuration ([#82](https://github.com/chieffancypants/angular-loading-bar/pull/82))
6+
- $timeout was not canceled properly ([#79](https://github.com/chieffancypants/angular-loading-bar/pull/79))
7+
48
## 0.4.3
59
- update z-index to work with other css frameworks ([#69](https://github.com/chieffancypants/angular-loading-bar/pull/69))
610
- ignoreLoadingBar not ignored when calculating percentage complete ([#70](https://github.com/chieffancypants/angular-loading-bar/pull/70))

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.4.3",
3+
"version": "0.5.0",
44
"main": ["build/loading-bar.js", "build/loading-bar.css"],
55
"ignore": [
66
"**/.*",

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.4.3
2+
* angular-loading-bar v0.5.0
33
* https://chieffancypants.github.io/angular-loading-bar
44
* Copyright (c) 2014 Wes Cruver
55
* License: MIT

build/loading-bar.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* angular-loading-bar v0.4.3
2+
* angular-loading-bar v0.5.0
33
* https://chieffancypants.github.io/angular-loading-bar
44
* Copyright (c) 2014 Wes Cruver
55
* License: MIT
@@ -165,13 +165,14 @@ angular.module('cfp.loadingBar', [])
165165
this.latencyThreshold = 100;
166166
this.startSize = 0.02;
167167
this.parentSelector = 'body';
168+
this.spinnerTemplate = '<div id="loading-bar-spinner"><div class="spinner-icon"></div></div>';
168169

169170
this.$get = ['$document', '$timeout', '$animate', '$rootScope', function ($document, $timeout, $animate, $rootScope) {
170171

171172
var $parentSelector = this.parentSelector,
172173
loadingBarContainer = angular.element('<div id="loading-bar"><div class="bar"><div class="peg"></div></div></div>'),
173174
loadingBar = loadingBarContainer.find('div').eq(0),
174-
spinner = angular.element('<div id="loading-bar-spinner"><div class="spinner-icon"></div></div>');
175+
spinner = angular.element(this.spinnerTemplate);
175176

176177
var incTimeout,
177178
completeTimeout,

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.4.3",
3+
"version": "0.5.0",
44
"description": "An automatic loading bar for AngularJS",
55
"main": "src/loading-bar.js",
66
"directories": {

0 commit comments

Comments
 (0)