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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1,330
    • 117
  • Source
  • Commits
  • Network (117)
  • Graphs
  • Tree: 31252b1
  • 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

Did some reorganizing of the recently added replaceWith tests.
jeresig (author)
Mon Jan 11 14:29:48 -0800 2010
commit  31252b1e4752d70eb895a659b41a85850ed727b4
tree    f0c40727cb70ad2126d2d6b1737a5c98e0395278
parent  44e6beb10304789044de2c5a58f5bb82e8321636
M test/unit/manipulation.js 5 •••••
0
test/unit/manipulation.js
...
655
656
657
658
 
659
660
661
662
663
...
667
668
669
670
 
671
672
673
...
655
656
657
 
658
659
 
660
661
662
...
666
667
668
 
669
670
671
672
0
@@ -655,9 +655,8 @@ var testReplaceWith = function(val) {
0
 
0
   reset();
0
   var tmp = jQuery("<div/>").appendTo("body").click(function(){ ok(true, "Newly bound click run." ); });
0
-  var y = jQuery('#yahoo').click(function(){ ok(true, "Previously bound click run." ); });
0
+  var y = jQuery('<div/>').appendTo("body").click(function(){ ok(true, "Previously bound click run." ); });
0
   var child = y.append("<b>test</b>").find("b").click(function(){ ok(true, "Child bound click run." ); return false; });
0
-  var child2 = y.append("<u>test</u>").find("u").click(function(){ ok(true, "Child 2 bound click run." ); return false; });
0
 
0
   y.replaceWith( tmp );
0
 
0
@@ -667,7 +666,7 @@ var testReplaceWith = function(val) {
0
 
0
   reset();
0
 
0
-  y = jQuery('#yahoo').click(function(){ ok(true, "Previously bound click run." ); });
0
+  y = jQuery('<div/>').appendTo("body").click(function(){ ok(true, "Previously bound click run." ); });
0
   var child2 = y.append("<u>test</u>").find("u").click(function(){ ok(true, "Child 2 bound click run." ); return false; });
0
 
0
   y.replaceWith( child2 );

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
This feature is coming soon. Sit tight!