You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple selectors erroneously used `selector)` instead of `selector`.
This has been fixed.
The typos were accidentally introduced during
a mass-replace in gh-1223.
Fixesgh-1228Closesgh-1229
Ref gh-1223
Ref gh-1226
Ref gh-1227
Copy file name to clipboardExpand all lines: entries/animate.xml
+11-11
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@
45
45
</code></pre>
46
46
<p>To animate the opacity, left offset, and height of the image simultaneously:</p>
47
47
<pre><code>
48
-
$( "#clickme)" ).on( "click", function() {
48
+
$( "#clickme" ).on( "click", function() {
49
49
$( "#book" ).animate({
50
50
opacity: 0.25,
51
51
left: "+=50",
@@ -101,7 +101,7 @@ $( "li" ).animate({
101
101
<p>As of jQuery version 1.4, you can set per-property easing functions within a single <code>.animate()</code> call. In the first version of <code>.animate()</code>, each property can take an array as its value: The first member of the array is the CSS property and the second member is an easing function. If a per-property easing function is not defined for a particular property, it uses the value of the <code>.animate()</code> method's optional easing argument. If the easing argument is not defined, the default <code>swing</code> function is used.</p>
102
102
<p>For example, to simultaneously animate the width and height with the <code>swing</code> easing function and the opacity with the <code>linear</code> easing function:</p>
<p>In the second version of <code>.animate()</code>, the options object can include the <code>specialEasing</code> property, which is itself an object of CSS properties and their corresponding easing functions. For example, to simultaneously animate the width using the <code>linear</code> easing function and the height using the <code>easeOutBounce</code> easing function:</p>
The second button starts a traditional chained animation, where each animation will start once the previous animation on the element has completed.</desc>
<desc>Animates the first div's left property and synchronizes the remaining divs, using the step function to set their left properties at each stage of the animation. </desc>
<desc>Animates all spans (words in this case) to hide fastly, completing each animation within 200 milliseconds. Once each animation is done, it starts the next one.</desc>
103
103
<code><![CDATA[
104
-
$( "#hider)" ).on( "click", function() {
104
+
$( "#hider" ).on( "click", function() {
105
105
$( "span:last-child" ).hide( "fast", function() {
106
106
// Use arguments.callee so we don't need a named function
107
107
$( this ).prev().hide( "fast", arguments.callee );
Copy file name to clipboardExpand all lines: entries/is.xml
+4-4
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<desc>A function used as a test for every element in the set. It accepts two arguments, <code>index</code>, which is the element's index in the jQuery collection, and <code>element</code>, which is the DOM element. Within the function, <code>this</code> refers to the current DOM element.</desc>
<p>You can attach a click handler to every <code><li></code> that evaluates the number of <code><strong></code> elements within the clicked <code><li></code> at that time like so:</p>
<desc>An alternate way to achieve the above example using an element rather than a jQuery object. Checks against an existing collection of alternating list elements. Blue, alternating list elements slide up while others turn red.</desc>
205
205
<code><![CDATA[
206
206
var alt = $( "#browsers li:nth-child(2n)" ).css( "background", "#0ff" );
0 commit comments