mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Fix use of reserved keyword as a parameter name
This commit is contained in:
parent
1e14124d55
commit
2ddd5ff88c
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user