Merge pull request #981 from nnnick/fix/cancel-anim-frame

Ensure cancelAnimFrame has no function context
This commit is contained in:
Nick Downie 2015-03-09 17:16:15 +00:00
commit 1fd52e702c

View File

@ -825,7 +825,7 @@
},
stop : function(){
// Stops any current animation loop occuring
helpers.cancelAnimFrame(this.animationFrame);
cancelAnimFrame(this.animationFrame);
return this;
},
resize : function(callback){