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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2,089
    • 198
  • Source
  • Commits
  • Network (198)
  • Graphs
  • Tree: 59124f9

click here to add a description

click here to add a homepage

  • Switch Branches (3)
    • master
    • mobile
    • omgrequire
  • Switch Tags (41)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4.2
    • 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…

jQuery JavaScript Library — Read more

  Cancel

http://jquery.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Temporarily disable ajax tests when running in TestSwam.
jeresig (author)
Wed Mar 24 13:04:10 -0700 2010
commit  59124f92b52f24f2547afaecc55afe10e2955cb6
tree    507ab9aaf135274290bde1fee3ba7f8d3ffc0d04
parent  1ba2df02d6242d734297344a85b7bea3788a0671
M test/data/testrunner.js 4 ••••
Txt test/data/testrunner.js
  • View file @ 59124f9
... ...
@@ -7,5 +7,9 @@ jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
7 7
   if ( !url || url.indexOf("http") !== 0 ) {
8 8
     return;
9 9
   }
  10
+
  11
+  // (Temporarily) Disable Ajax tests to reduce network strain
  12
+  QUnit.isLocal = true;
  13
+
10 14
   document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
11 15
 })();

3 notes on commit 59124f9

GarrettS added a note to 59124f9

Tue Mar 30 10:14:30 -0700 2010

Although not directly related, I recommend:
1) Do not concatenate the opening script tag -- that is totally pointless
2) Use a backslash to escape the closing script tag.

Example (if it isn't filtered).

   document.write("

GarrettS added a note to 59124f9

Tue Mar 30 10:15:46 -0700 2010

Try again:

document.write("<script src='http://swarm.jquery.org/js/inject.js?" + (+new Date) + "'><\/script>");

GarrettS added a note to 59124f9

Tue Mar 30 10:15:58 -0700 2010

Yes, that's what I meant.

Please log in to comment.
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