Skip to content

Commit 445e8fc

Browse files
author
crisbeto
committed
recompile and bump the version
1 parent 4181e10 commit 445e8fc

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
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.3.6",
3+
"version": "0.3.7",
44
"homepage": "https://github.com/crisbeto/angular-svg-round-progressbar",
55
"authors": [
66
"crisbeto"

build/roundProgress.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* [email protected].6 2015-10-12 */
1+
/* [email protected].7 2015-10-13 */
22
// shim layer with setTimeout fallback
33
// credit Erik Möller and http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
44
'use strict';
@@ -83,7 +83,7 @@ angular.module('angular-svg-round-progress').service('roundProgressService', [fu
8383

8484
while(!parent.hasClass('round-progress-wrapper')){
8585
if(service.isDirective(parent)){
86-
parentScope = parent.scope().$parent;
86+
parentScope = parent.scope().$parent.getOptions();
8787
value += ((+parentScope.offset || 0) + (+parentScope.stroke || 0));
8888
}
8989

@@ -343,6 +343,10 @@ angular.module('angular-svg-round-progress')
343343
var lastAnimationId;
344344
var parentChangedListener;
345345

346+
scope.getOptions = function(){
347+
return options;
348+
};
349+
346350
var renderCircle = function(){
347351
var isSemicircle = options.semi;
348352
var responsive = options.responsive;

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

0 commit comments

Comments
 (0)