Skip to content

Commit 2815a30

Browse files
committed
Add a proxy module so people's builds don't break.
1 parent cdf36c3 commit 2815a30

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-svg-round-progressbar",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"homepage": "https://github.com/crisbeto/angular-svg-round-progressbar",
55
"authors": [
66
"crisbeto"

build/roundProgress.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* [email protected].0 2016-03-24 */
1+
/* [email protected].1 2016-03-24 */
22
// shim layer with setTimeout fallback
33
// credit Erik Möller and http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
44
'use strict';
@@ -31,7 +31,12 @@
3131

3232
}());
3333

34+
'use strict';
35+
3436
angular.module('angular-svg-round-progressbar', []);
37+
angular.module('angular-svg-round-progress', ['angular-svg-round-progressbar']).run(['$log', function($log){
38+
$log.warn('Hey there! In version 0.4.0 `angular-svg-round-progress` was renamed to `angular-svg-round-progressbar` in order to match the NPM and Bower package names. You\'re currently using a proxy module that will be gone on May 1st 2016. Please rename your module dependency accordingly.');
39+
}]);
3540

3641
'use strict';
3742

build/roundProgress.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-svg-round-progressbar",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "AngularJS module that uses SVG to create a circular progressbar",
55
"main": "build/roundProgress.min.js",
66
"scripts": {},

src/module.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
'use strict';
2+
13
angular.module('angular-svg-round-progressbar', []);
4+
angular.module('angular-svg-round-progress', ['angular-svg-round-progressbar']).run(['$log', function($log){
5+
$log.warn('Hey there! In version 0.4.0 `angular-svg-round-progress` was renamed to `angular-svg-round-progressbar` in order to match the NPM and Bower package names. You\'re currently using a proxy module that will be gone on May 1st 2016. Please rename your module dependency accordingly.');
6+
}]);

0 commit comments

Comments
 (0)