diff --git a/bower.json b/bower.json index 7f35c43..1380948 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-calendar-heatmap", - "version": "0.2.4", + "version": "0.2.5", "main": [ "dist/calendar-heatmap.min.js", "dist/calendar-heatmap.min.css" diff --git a/dist/calendar-heatmap.min.js b/dist/calendar-heatmap.min.js index d1406d3..6b38a49 100644 --- a/dist/calendar-heatmap.min.js +++ b/dist/calendar-heatmap.min.js @@ -1 +1 @@ -"use strict";angular.module("g1b.calendar-heatmap",[]).directive("calendarHeatmap",["$window",function(t){return{restrict:"E",scope:{data:"=",color:"=?",overview:"=?",handler:"=?"},replace:!0,template:'
',link:function(e,n){var a=5,r=1,o=1e3,i=200,l=10,c=40,s=20,d=500,u=!1,m=250,f=15;e.overview=e.overview||"year",e.history=["year"],e.selected={};var v=d3.select(n[0]).append("svg").attr("class","svg"),h=v.append("g"),y=v.append("g"),p=v.append("g"),w=d3.select(n[0]).append("div").attr("class","heatmap-tooltip").style("opacity",0),k=function(){var t=864e5,e=(moment()-moment().subtract(1,"year").subtract(1,"day"))/t-364,n=Math.ceil((moment()-moment().startOf("week"))/t),a=n