Skip to content

Commit

Permalink
Fix broken afterLoadPreviousDomain callback
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Oct 8, 2013
1 parent 46f8464 commit ba9958b
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## v3.3.1 [2013-10-07]

* [fix] Fix broken `afterLoadPreviousDomain` callback

## v3.3.0 [2013-10-07]

* [new] Add `jumpTo()` method to scroll the calendar to the specified date
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "cal-heatmap",
"version": "3.3.0",
"version": "3.3.1",
"main": ["./cal-heatmap.js", "./cal-heatmap.css"],
"dependencies": {
"d3": "~v3.0.6"
Expand Down
4 changes: 2 additions & 2 deletions cal-heatmap.js
@@ -1,4 +1,4 @@
/*! cal-heatmap v3.3.0 (Mon Oct 07 2013 19:07:29)
/*! cal-heatmap v3.3.1 (Mon Oct 07 2013 21:53:51)
* ---------------------------------------------
* Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data, a la github contribution graph
* https://github.com/kamisama/cal-heatmap
Expand Down Expand Up @@ -1546,7 +1546,7 @@ CalHeatMap.prototype = {
}
);

this.afterLoadPreviousDomain(newDomains);
this.afterLoadPreviousDomain(newDomains[0]);

if (this.minDomainIsReached(newDomains[0])) {
this.onMinDomainReached(true);
Expand Down
4 changes: 2 additions & 2 deletions cal-heatmap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cal-heatmap.source-map.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "cal-heatmap",
"version": "3.3.0",
"version": "3.3.1",
"description": "Cal-Heatmap is a javascript module to create calendar heatmap to visualize time series data, a la github contribution graph",
"keywords": [
"calendar",
Expand Down
2 changes: 1 addition & 1 deletion src/cal-heatmap.js
Expand Up @@ -1538,7 +1538,7 @@ CalHeatMap.prototype = {
}
);

this.afterLoadPreviousDomain(newDomains);
this.afterLoadPreviousDomain(newDomains[0]);

if (this.minDomainIsReached(newDomains[0])) {
this.onMinDomainReached(true);
Expand Down

0 comments on commit ba9958b

Please sign in to comment.