From 148d22688c34ae1e7a180283f8c83bcb1ab2a77a Mon Sep 17 00:00:00 2001 From: Mathew Byrne Date: Tue, 17 Feb 2015 22:43:26 +1100 Subject: [PATCH] Bumped version number to 1.0 --- angular-progress-arc.min.js | 2 +- bower.json | 2 +- package.json | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/angular-progress-arc.min.js b/angular-progress-arc.min.js index c625945..4ee6724 100644 --- a/angular-progress-arc.min.js +++ b/angular-progress-arc.min.js @@ -1,2 +1,2 @@ -/*! angular-progress-arc - v0.5.0 (http://mathewbyrne.github.io/angular-progress-arc/) */ +/*! angular-progress-arc - v1.0.0 (http://mathewbyrne.github.io/angular-progress-arc/) */ !function(a){"use strict";var b=a.module("angular-progress-arc",[]);b.provider("progressArcDefaults",function(){var b={size:200,strokeWidth:20,stroke:"black",background:null};this.setDefault=function(a,c){return b[a]=c,this},this.$get=function(){return function(c){a.forEach(b,function(a,b){c[b]||(c[b]=a)})}}}),b.directive("progressArc",["progressArcDefaults",function(a){return{restrict:"E",scope:{size:"@",strokeWidth:"@",stroke:"@",counterClockwise:"@",complete:"&",background:"@"},compile:function(b,c){return a(c),function(a){a.offset=/firefox/i.test(navigator.userAgent)?-89.9:-90;var b=function(){a.strokeWidthCapped=Math.min(a.strokeWidth,a.size/2-1),a.radius=Math.max((a.size-a.strokeWidthCapped)/2-1,0),a.circumference=2*Math.PI*a.radius};a.$watchCollection("[size, strokeWidth]",b),b()}},template:'"}}])}(window.angular); \ No newline at end of file diff --git a/bower.json b/bower.json index 604eba4..3949b3c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-progress-arc", - "version": "0.5.0", + "version": "1.0.0", "authors": [ "Mathew Byrne " ], diff --git a/package.json b/package.json index f2f568d..11fd5d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-progress-arc", - "version": "0.5.0", + "version": "1.0.0", "description": "AngularJS directive for displaying a circular progress meter.", "main": "angular-progress-arc.js", "directories": { @@ -30,5 +30,8 @@ "grunt": "~0.4.5", "grunt-contrib-uglify": "~0.5.0", "grunt-contrib-jshint": "~0.10.0" + }, + "dependencies": { + "angular": ">=1.2.19" } }