From: Evert Timberg Date: Thu, 10 Nov 2016 00:53:20 +0000 (-0500) Subject: remove unused cancel animation frame method X-Git-Tag: v2.5.0~1^2~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68a2c8240fab9377c8edb2d3923b5f28cc49f771;p=thirdparty%2FChart.js.git remove unused cancel animation frame method --- diff --git a/src/core/core.helpers.js b/src/core/core.helpers.js index f085290c0..542088f61 100644 --- a/src/core/core.helpers.js +++ b/src/core/core.helpers.js @@ -671,16 +671,6 @@ module.exports = function(Chart) { return window.setTimeout(callback, 1000 / 60); }; }()); - helpers.cancelAnimFrame = (function() { - return window.cancelAnimationFrame || - window.webkitCancelAnimationFrame || - window.mozCancelAnimationFrame || - window.oCancelAnimationFrame || - window.msCancelAnimationFrame || - function(callback) { - return window.clearTimeout(callback, 1000 / 60); - }; - }()); // -- DOM methods helpers.getRelativePosition = function(evt, chart) { var mouseX, mouseY;