From: Nick Downie Date: Mon, 9 Mar 2015 17:05:20 +0000 (+0000) Subject: Ensure cancelAnimFrame has no function context X-Git-Tag: v1.0.2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F981%2Fhead;p=thirdparty%2FChart.js.git Ensure cancelAnimFrame has no function context --- diff --git a/src/Chart.Core.js b/src/Chart.Core.js index f5af352d4..efe9f78a8 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -825,7 +825,7 @@ }, stop : function(){ // Stops any current animation loop occuring - helpers.cancelAnimFrame(this.animationFrame); + cancelAnimFrame(this.animationFrame); return this; }, resize : function(callback){