Skip to content

Commit

Permalink
Building 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Nov 12, 2014
1 parent a48b9ea commit f931864
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v3.5.0 [2014-11-12]

* [fix] Fix #84 Fixing highlighting for week subdomain (Dominic Barnes)
* [new] Fix #85 Adding some CommonJS as well as Component support (Dominic Barnes)
* [fix] Fix #107 Fix connectors for week/month/year (Andreas Jaggi)
* [change] Use NPM to install jquery and qunit dev dependencies

## v3.4.0 [2014-02-02]

* [fix] Fix #57 display data values in subdomain
Expand Down
10 changes: 6 additions & 4 deletions cal-heatmap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! cal-heatmap v3.4.0 (Tue May 13 2014 12:22:20)
/*! cal-heatmap v3.5.0 (Wed Nov 12 2014 16:19:34)
* ---------------------------------------------
* Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data
* https://github.com/kamisama/cal-heatmap
Expand Down Expand Up @@ -460,7 +460,7 @@ var CalHeatMap = function() {
format: {
date: "%B Week #%W",
legend: "%B Week #%W",
connector: "on"
connector: "in"
},
extractUnit: function(d) {
var dt = new Date(d.getFullYear(), d.getMonth(), d.getDate());
Expand Down Expand Up @@ -488,7 +488,7 @@ var CalHeatMap = function() {
format: {
date: "%B %Y",
legend: "%B",
connector: "on"
connector: "in"
},
extractUnit: function(d) {
return new Date(d.getFullYear(), d.getMonth()).getTime();
Expand All @@ -506,7 +506,7 @@ var CalHeatMap = function() {
format: {
date: "%Y",
legend: "%Y",
connector: "on"
connector: "in"
},
extractUnit: function(d) {
return new Date(d.getFullYear()).getTime();
Expand Down Expand Up @@ -1889,6 +1889,8 @@ CalHeatMap.prototype = {
dateA.getDate() === dateB.getDate();
case "x_week":
case "week":
return dateA.getFullYear() === dateB.getFullYear() &&
this.getWeekNumber(dateA) === this.getWeekNumber(dateB);
case "x_month":
case "month":
return dateA.getFullYear() === dateB.getFullYear() &&
Expand Down
6 changes: 3 additions & 3 deletions cal-heatmap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! cal-heatmap v3.4.0 (Sun Feb 02 2014 13:03:14)
/*! cal-heatmap v3.5.0 (Wed Nov 12 2014 16:19:34)
* ---------------------------------------------
* Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data
* https://github.com/kamisama/cal-heatmap
Expand Down

0 comments on commit f931864

Please sign in to comment.