Skip to content

Commit

Permalink
Export as module
Browse files Browse the repository at this point in the history
Resolves #16
  • Loading branch information
compwright committed Nov 17, 2016
1 parent 94029ca commit 5f4d5d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions chartjs-plugin-zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ var zoomPlugin = {
}
};

module.exports = zoomPlugin;
Chart.pluginService.register(zoomPlugin);

},{"chart.js":1,"hammerjs":1}]},{},[2]);
2 changes: 1 addition & 1 deletion chartjs-plugin-zoom.min.js

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

1 change: 1 addition & 0 deletions src/chart.zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,5 @@ var zoomPlugin = {
}
};

module.exports = zoomPlugin;
Chart.pluginService.register(zoomPlugin);

0 comments on commit 5f4d5d4

Please sign in to comment.