Skip to content

Commit

Permalink
Fix use of reserved keyword as a parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Feb 25, 2017
1 parent 1e14124 commit 2ddd5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/platform.dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ module.exports = function(Chart) {
return canvas;
}

function createEvent(type, chart, x, y, native) {
function createEvent(type, chart, x, y, nativeEvent) {
return {
type: type,
chart: chart,
native: native || null,
native: nativeEvent || null,
x: x !== undefined? x : null,
y: y !== undefined? y : null,
};
Expand Down

0 comments on commit 2ddd5ff

Please sign in to comment.