Skip to content

Commit

Permalink
Merge branch 'tim2342-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eb committed Sep 14, 2017
2 parents 3d3f4fd + d63f650 commit 3371419
Show file tree
Hide file tree
Showing 5 changed files with 486 additions and 483 deletions.
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calendar-heatmap-graph",
"version": "0.0.8",
"version": "0.0.9",
"description": "d3.js calendar heatmap graph.",
"homepage": "https://github.com/g1eb/calendar-heatmap",
"authors": [
Expand All @@ -19,8 +19,8 @@
"tests"
],
"dependencies": {
"d3": "^3.5.16",
"moment": "^2.12.0"
"d3": "^4.10.2",
"moment": "^2.18.1"
},
"keywords": [
"calendar",
Expand Down
3 changes: 1 addition & 2 deletions dist/calendar-heatmap.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
</head>
<body>

<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.16/d3.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.10.2/d3.min.js" charset="utf-8"></script>
<script src="dist/calendar-heatmap.min.js"></script>

<script>
(function () {
// Initialize random data for the demo
var now = moment().endOf('day').toDate();
var time_ago = moment().startOf('day').subtract(10, 'year').toDate();
var example_data = d3.time.days(time_ago, now).map(function (dateElement, index) {
var example_data = d3.timeDays(time_ago, now).map(function (dateElement, index) {
return {
date: dateElement,
details: Array.apply(null, new Array(Math.floor(Math.random() * 15))).map(function(e, i, arr) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calendar-heatmap-graph",
"version": "0.0.8",
"version": "0.0.9",
"description": "d3.js calendar heatmap graph.",
"homepage": "https://github.com/g1eb/calendar-heatmap#readme",
"author": "g1eb <[email protected]> (https://g1eb.com)",
Expand All @@ -17,8 +17,8 @@
"build": "gulp build"
},
"dependencies": {
"d3": "^3.5.16",
"moment": "^2.13.0"
"d3": "^4.10.2",
"moment": "^2.18.1"
},
"devDependencies": {
"gulp": "^3.9.1",
Expand Down
Loading

0 comments on commit 3371419

Please sign in to comment.