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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1,509
    • 148
  • Source
  • Commits
  • Network (148)
  • Graphs
  • Tree: 4151dde
  • Branches (3)
    • master
    • mobile
    • omgrequire
  • Tags (40)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4.1
    • 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

Bringing some selector tests back from Sizzle.
jeresig (author)
Mon Jan 11 20:55:02 -0800 2010
commit  4151ddef9d912ea48a404cfe4a0cf439a1f46815
tree    f92da596cf68d559e2639521b4e015db44b9dbff
parent  6114565ab54f507476ba093496bb917beca65c54
M test/unit/selector.js 4 ••••
0
test/unit/selector.js
...
53
54
55
56
 
57
58
59
 
60
61
62
...
70
71
72
 
73
74
75
...
53
54
55
 
56
57
58
59
60
61
62
63
...
71
72
73
74
75
76
77
0
@@ -53,10 +53,11 @@ if ( location.protocol != "file:" ) {
0
 }
0
 
0
 test("broken", function() {
0
-  expect(7);
0
+  expect(8);
0
   function broken(name, selector) {
0
     try {
0
       jQuery(selector);
0
+      ok( false, name + ": " + selector );
0
     } catch(e){
0
       ok(  typeof e === "string" && e.indexOf("Syntax error") >= 0,
0
         name + ": " + selector );
0
@@ -70,6 +71,7 @@ test("broken", function() {
0
   broken( "Broken Selector", "()", [] );
0
   broken( "Broken Selector", "<>", [] );
0
   broken( "Broken Selector", "{}", [] );
0
+  broken( "Doesn't exist", ":visble", [] );
0
 });
0
 
0
 test("id", function() {

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