github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1,465
    • 138
  • Source
  • Commits
  • Network (138)
  • Graphs
  • Tree: 6f7cd66
  • Branches (3)
    • master
    • mobile
    • omgrequire
  • Tags (39)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4
    • 1.3rc1
    • 1.3b2
    • 1.3b1
    • 1.3.2
    • 1.3.1rc1
    • 1.3.1
    • 1.3
    • 1.2.6
    • 1.2.5
    • 1.2.4b
    • 1.2.4a
    • 1.2.4
    • 1.2.3b
    • 1.2.3a
    • 1.2.3
    • 1.2.2b2
    • 1.2.2b
    • 1.2.2
    • 1.2.1
    • 1.2
    • 1.1b
    • 1.1a
    • 1.1.4
    • 1.1.3a
    • 1.1.3.1
    • 1.1.3
    • 1.1.2
    • 1.1.1
    • 1.1
    • 1.0a
    • 1.0.4
    • 1.0.3
    • 1.0.2
    • 1.0.1
    • 1.0
  • Comments
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

jQuery JavaScript Library — Read more

or cancel

http://jquery.com/

or cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added tests for 193 and 170.
Removed unused line of code from fx.
brandonaaron (author)
Tue Oct 17 08:34:19 -0700 2006
commit  6f7cd669597cbcf026886074fb31963fe767e2b3
tree    c4571f45f488dc15dc8c3ae181930bf078c8dc24
parent  688c724b1f07b3e0ca7cb27b1d9f76b7b11959ce
M build/test/index.html 63 ••••
M src/fx/fx.js 2 ••
M src/jquery/jquery.js 16 •••••
0
build/test/index.html
...
3
4
5
6
 
7
8
9
 
 
10
11
12
...
30
31
32
33
34
 
 
35
36
37
 
38
39
40
...
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
73
 
74
75
76
...
3
4
5
 
6
7
 
 
8
9
10
11
12
...
30
31
32
 
 
33
34
35
36
 
37
38
39
40
...
44
45
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
0
@@ -3,10 +3,10 @@
0
   <script type="text/javascript" src="../dist/jquery.js"></script>
0
   <script type="text/javascript" src="data/testrunner.js"></script>
0
   <script>
0
-  $(document).ready(function(){
0
+  $(document).ready(function(){
0
     runTest(function() {
0
-      {TESTS}
0
-    });
0
+      {TESTS}
0
+    });
0
   });
0
   </script>
0
   <style>.pass { color: green; } .fail { color: red; } #tests ol { display: none; }</style>
0
@@ -30,11 +30,11 @@
0
       <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p>
0
       <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p>
0
 
0
-    </div>
0
-    <p id="first">Try them out:</p>
0
+    </div>
0
+    <p id="first">Try them out:</p>
0
     <ul id="firstUL"></ul>
0
     <ol id="empty"></ol>
0
-    <form id="form" action="formaction">
0
+    <form id="form" action="formaction">
0
       <input type="text" name="action" value="Test" id="text1"/>
0
       <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
0
       <input type="radio" name="radio1" id="radio1"/>
0
@@ -44,33 +44,34 @@
0
       <input type="checkbox" id="check2"/>
0
 
0
       <input type="hidden" name="hidden" id="hidden1"/>
0
-      <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
0
-      
0
-      <input type="text" id="name" name="name" value="name" />
0
-      
0
-      <button id="button" name="button">Button</button>
0
-      
0
-      <textarea id="area1">foobar</textarea>
0
-      
0
-      <select name="select1" id="select1">
0
-        <option id="option1a" value="">Nothing</option>
0
-        <option id="option1b" value="1">1</option>
0
-        <option id="option1c" value="2">2</option>
0
-        <option id="option1d" value="3">3</option>
0
-      </select>
0
-      <select name="select2" id="select2">
0
-        <option id="option2a" value="">Nothing</option>
0
-        <option id="option2b" value="1">1</option>
0
-        <option id="option2c" value="2">2</option>
0
-        <option id="option2d" selected="selected" value="3">3</option>
0
-      </select>
0
-      <select name="select3" id="select3" multiple="multiple">
0
-        <option id="option3a" value="">Nothing</option>
0
-        <option id="option3b" selected="selected" value="1">1</option>
0
-        <option id="option3c" selected="selected" value="2">2</option>
0
-        <option id="option3d" value="3">3</option>
0
+      <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/>
0
+      
0
+      <input type="text" id="name" name="name" value="name" />
0
+      
0
+      <button id="button" name="button">Button</button>
0
+      
0
+      <textarea id="area1">foobar</textarea>
0
+      
0
+      <select name="select1" id="select1">
0
+        <option id="option1a" value="">Nothing</option>
0
+        <option id="option1b" value="1">1</option>
0
+        <option id="option1c" value="2">2</option>
0
+        <option id="option1d" value="3">3</option>
0
+      </select>
0
+      <select name="select2" id="select2">
0
+        <option id="option2a" value="">Nothing</option>
0
+        <option id="option2b" value="1">1</option>
0
+        <option id="option2c" value="2">2</option>
0
+        <option id="option2d" selected="selected" value="3">3</option>
0
+      </select>
0
+      <select name="select3" id="select3" multiple="multiple">
0
+        <option id="option3a" value="">Nothing</option>
0
+        <option id="option3b" selected="selected" value="1">1</option>
0
+        <option id="option3c" selected="selected" value="2">2</option>
0
+        <option id="option3d" value="3">3</option>
0
       </select>
0
     </form>
0
+    <p id="floatTest">Float test.</div>
0
   </div>
0
   </dl>
0
   
0
src/fx/fx.js
...
493
494
495
496
497
498
499
500
...
493
494
495
 
 
496
497
498
0
@@ -493,8 +493,6 @@ jQuery.extend({
0
       // Remember where we started, so that we can go back to it later
0
       z.el.orig[prop] = this.cur();
0
       
0
-      var start = z.el.orig[prop];
0
-      
0
       // Begin the animation
0
       z.custom(0, z.el.orig[prop]);
0
 
0
src/jquery/jquery.js
...
534
535
536
 
 
 
 
 
 
 
 
537
538
539
...
555
556
557
 
 
 
 
 
 
 
 
558
559
560
...
534
535
536
537
538
539
540
541
542
543
544
545
546
547
...
563
564
565
566
567
568
569
570
571
572
573
574
575
576
0
@@ -534,6 +534,14 @@ jQuery.fn = jQuery.prototype = {
0
    * ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
0
    * $('#foo').css({display: 'block'});
0
    * ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
0
+   * $('#floatTest').css({styleFloat: 'right'});
0
+   * ok( $('#floatTest').css('styleFloat') == 'right', 'Modified CSS float using "styleFloat": Assert float is right');
0
+   * $('#floatTest').css({cssFloat: 'left'});
0
+   * ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left');
0
+   * $('#floatTest').css({'float': 'right'});
0
+   * ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right');
0
+   * $('#floatTest').css({'font-size': '30px'});
0
+   * ok( $('#floatTest').css('font-size') == '30px', 'Modified CSS font-size: Assert font-size is 30px');
0
    * 
0
    * @name css
0
    * @type jQuery
0
@@ -555,6 +563,14 @@ jQuery.fn = jQuery.prototype = {
0
    * ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
0
    * $('#foo').css('display', 'block');
0
    * ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
0
+   * $('#floatTest').css('styleFloat', 'left');
0
+   * ok( $('#floatTest').css('styleFloat') == 'left', 'Modified CSS float using "styleFloat": Assert float is left');
0
+   * $('#floatTest').css('cssFloat', 'right');
0
+   * ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right');
0
+   * $('#floatTest').css('float', 'left');
0
+   * ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left');
0
+   * $('#floatTest').css('font-size', '20px');
0
+   * ok( $('#floatTest').css('font-size') == '20px', 'Modified CSS font-size: Assert font-size is 20px');
0
    *
0
    * @name css
0
    * @type jQuery

Comments

Parsed with GitHub Flavored Markdown
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server