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

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 670
    • 123
  • Source
  • Commits
  • Network (123)
  • Graphs
  • Tree: 70d25ae

click here to add a description

click here to add a homepage

  • Switch Branches (7)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (18)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Updating to latest QUnit
jzaefferer (author)
Thu Apr 01 00:57:56 -0700 2010
commit  70d25ae8e7a7dced6c2b
tree    ecee37488eb4a5b461cd
parent  eccb95a8cdc539987712
M external/qunit.js 12 ••••
Txt external/qunit.js
  • View file @ 70d25ae
... ...
@@ -953,16 +953,14 @@ QUnit.jsDump = (function() {
953 953
         type = "date";
954 954
       } else if (QUnit.is("Function", obj)) {
955 955
         type = "function";
956  
-      } else if (QUnit.is("Array", obj)) {
957  
-        type = "array";
958  
-      } else if (QUnit.is("Window", obj) || QUnit.is("global", obj)) {
  956
+      } else if (obj.setInterval && obj.document && !obj.nodeType) {
959 957
         type = "window";
960  
-      } else if (QUnit.is("HTMLDocument", obj)) {
  958
+      } else if (obj.nodeType === 9) {
961 959
         type = "document";
962  
-      } else if (QUnit.is("HTMLCollection", obj) || QUnit.is("NodeList", obj)) {
963  
-        type = "nodelist";
964  
-      } else if (/^\[object HTML/.test(Object.prototype.toString.call( obj ))) {
  960
+      } else if (obj.nodeType) {
965 961
         type = "node";
  962
+      } else if (typeof obj === "object" && typeof obj.length === "number" && obj.length >= 0) {
  963
+        type = "array";
966 964
       } else {
967 965
         type = typeof obj;
968 966
       }

0 notes on commit 70d25ae

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