removed uneccesary frame update request

This commit is contained in:
abenrob 2015-03-02 14:09:09 +01:00
parent d5e8007dce
commit fa8a9bbc2b
5 changed files with 6 additions and 15 deletions

8
dist/torque.full.js vendored

File diff suppressed because one or more lines are too long

View File

@ -123,9 +123,6 @@ var cancelAnimationFrame = global.cancelAnimationFrame
if(!this.options.loop){
// set time to max time
this.time(this.options.animationDuration);
// go to final frame (callback to nothing)
requestAnimationFrame(function(){});
// pause at final frame
this.pause();
} else {
this._time = 0;

4
dist/torque.js vendored

File diff suppressed because one or more lines are too long

View File

@ -123,9 +123,6 @@ var cancelAnimationFrame = global.cancelAnimationFrame
if(!this.options.loop){
// set time to max time
this.time(this.options.animationDuration);
// go to final frame (callback to nothing)
requestAnimationFrame(function(){});
// pause at final frame
this.pause();
} else {
this._time = 0;

View File

@ -121,9 +121,6 @@ var cancelAnimationFrame = global.cancelAnimationFrame
if(!this.options.loop){
// set time to max time
this.time(this.options.animationDuration);
// go to final frame (callback to nothing)
requestAnimationFrame(function(){});
// pause at final frame
this.pause();
} else {
this._time = 0;