From: Evert Timberg Date: Wed, 22 Feb 2017 01:34:50 +0000 (-0500) Subject: Fix use of reserved keyword as a parameter name X-Git-Tag: v2.6.0~2^2~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ddd5ff88c041042826f45382623bf4fc94db320;p=thirdparty%2FChart.js.git Fix use of reserved keyword as a parameter name --- diff --git a/src/platforms/platform.dom.js b/src/platforms/platform.dom.js index de451b935..761337b06 100644 --- a/src/platforms/platform.dom.js +++ b/src/platforms/platform.dom.js @@ -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, };