Skip to content

Commit

Permalink
Fix 2.8.0 (#18)
Browse files Browse the repository at this point in the history
* update to prevent filling up console log.

* Add minified version.

* Fix for chartjs 2.8.0
  • Loading branch information
fanthos authored Mar 30, 2019
1 parent 7ad407c commit 54bee84
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chartjs-chart-timeline",
"version": "0.2.1",
"version": "0.3.0",
"description": "timeline chart type for chart.js",
"main": "src/timeline.js",
"scripts": {
Expand All @@ -13,7 +13,7 @@
},
"dependencies": {
"moment": "^2.22.0",
"chart.js": "^2.7.2"
"chart.js": "~2.8.0"
},
"devDependencies": {
"rollup": "^0.58.0",
Expand Down
1 change: 1 addition & 0 deletions src/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var TimelineConfig = {
tooltips: {
mode: 'nearest',
},
adapters: {},
time: {
parser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/
Expand Down
1 change: 1 addition & 0 deletions timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
tooltips: {
mode: 'nearest',
},
adapters: {},
time: {
parser: false, // false == a pattern string from http://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment
format: false, // DEPRECATED false == date objects, moment object, callback or a pattern string from http://momentjs.com/docs/#/parsing/string-format/
Expand Down
2 changes: 1 addition & 1 deletion timeline.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54bee84

Please sign in to comment.