]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Ensure cancelAnimFrame has no function context 981/head
authorNick Downie <hello@nickdownie.com>
Mon, 9 Mar 2015 17:05:20 +0000 (17:05 +0000)
committerNick Downie <hello@nickdownie.com>
Mon, 9 Mar 2015 17:05:20 +0000 (17:05 +0000)
src/Chart.Core.js

index f5af352d43e1ffc67983a35d9a7293ce4deb8fa0..efe9f78a8fe26d3d74973ad06906a243796f1cfc 100755 (executable)
                },
                stop : function(){
                        // Stops any current animation loop occuring
-                       helpers.cancelAnimFrame(this.animationFrame);
+                       cancelAnimFrame(this.animationFrame);
                        return this;
                },
                resize : function(callback){