Bug Tracker

Opened 9 years ago

Last modified 8 years ago

#9384 closed feature

jQuery.fx.interval should be replaced by an 'animation-tick' throttling feature. — at Version 7

Reported by: louisremi@… Owned by:
Priority: low Milestone: None
Component: effects Version: 1.6.1
Keywords: 1.9-discuss Cc:
Blocked by: Blocking:

Description (last modified by john)

jQuery.fx.interval should be replaced by an 'animation-tick' throttling feature. Why removing fx.interval?

Why throttling animation ticks instead?

  • because it serves a similar purpose (saving CPU cycles when animations do not need to run at 60fps)
  • because it can solves all of the above problems
  • because the implementation adds only 1 line of code: https://github.com/jquery/jquery/pull/334/files

Change History (7)

comment:1 Changed 9 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:2 Changed 9 years ago by Rick Waldron

Description: modified (diff)

+0,

comment:3 Changed 9 years ago by jaubourg

+1, Agreed

comment:4 Changed 9 years ago by timmywil

+1, do it :)

comment:5 Changed 9 years ago by timmywil

Component: unfiledeffects
Description: modified (diff)
Priority: undecidedlow
Status: newopen

comment:6 Changed 9 years ago by dmethvin

+0, That commit has more than one line of code. Also, it changes the documented jQuery.fx.interval behavior. What docs changes do we need on this?

comment:7 Changed 9 years ago by john

Description: modified (diff)

+1, I think this is fine. Good to get consistency.

Note: See TracTickets for help on using tickets.