Skip to content

Commit 9fef869

Browse files
committed
Deprecate jQuery.fx.interval as of 3.0
Closes #969
1 parent e55cf63 commit 9fef869

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

entries/jQuery.fx.interval.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?xml version="1.0"?>
2-
<entry type="property" name="jQuery.fx.interval" return="Number">
2+
<entry type="property" name="jQuery.fx.interval" return="Number" deprecated="3.0">
33
<title>jQuery.fx.interval</title>
44
<desc>The rate (in milliseconds) at which animations fire.</desc>
55
<signature>
66
<added>1.4.3</added>
77
</signature>
88
<longdesc>
9-
<p>This property can be manipulated to adjust the number of frames per second at which animations will run. The default is 13 milliseconds. Making this a lower number could make the animations run smoother in faster browsers (such as Chrome) but there may be performance and CPU implications of doing so.</p>
9+
<p>This property is deprecated as of version 3.0, and has no effect in browsers that support the <a href="http://caniuse.com/#feat=requestanimationframe"><code>requestAnimationFrame</code></a> method.</p>
10+
<p>On browsers that do not support <code>requestAnimationFrame</code>, this property can be changed to adjust the interval at which animations will run. The default is 13 milliseconds.</p>
1011
<p>Since jQuery uses one global interval, no animation should be running or all animations should stop for the change of this property to take effect.</p>
1112
</longdesc>
1213
<example>
@@ -34,4 +35,5 @@ $( "input" ).click(function() {
3435
<category slug="effects/custom-effects"/>
3536
<category slug="properties/global-jquery-object-properties"/>
3637
<category slug="version/1.4.3"/>
38+
<category slug="deprecated/deprecated-3.0"/>
3739
</entry>

0 commit comments

Comments
 (0)