]> source.dussan.org Git - jquery.git/commitdiff
Fix whitespace mismatch introduced in bf7a4df22a 679/head
authorRick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Fri, 10 Feb 2012 21:17:12 +0000 (16:17 -0500)
committerRick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Fri, 10 Feb 2012 21:17:12 +0000 (16:17 -0500)
src/manipulation.js
test/unit/manipulation.js

index b295f4b7e81da07af9abe6d74c3b0cb0e8d95824..602076a1b643ebc1a6f1a0819594e34837ef9adb 100644 (file)
@@ -24,7 +24,7 @@ var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figca
        rhtml = /<|&#?\w+;/,
        rnoInnerhtml = /<(?:script|style)/i,
        rnocache = /<(?:script|object|embed|option|style)/i,
-    rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
+       rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
        // checked="checked" or checked
        rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
        rscriptType = /\/(java|ecma)script/i,
index 48618258fa5b7ab94553235552c6cf8af198c10a..49402b8a37d4e6238dad82322cd63af659bd4432 100644 (file)
@@ -1219,14 +1219,14 @@ test("clone() on XML nodes", function() {
 }
 
 test("clone() on local XML nodes with html5 nodename", function() {
-    expect(2);
+       expect(2);
 
-    var $xmlDoc = jQuery( jQuery.parseXML( "<root><meter /></root>" ) ),
+       var $xmlDoc = jQuery( jQuery.parseXML( "<root><meter /></root>" ) ),
                $meter = $xmlDoc.find( "meter" ).clone();
 
-    equal( $meter[0].nodeName, "meter", "Check if nodeName was not changed due to cloning" );
-    equal( $meter[0].nodeType, 1, "Check if nodeType is not changed due to cloning" );
-} );
+       equal( $meter[0].nodeName, "meter", "Check if nodeName was not changed due to cloning" );
+       equal( $meter[0].nodeType, 1, "Check if nodeType is not changed due to cloning" );
+});
 
 test("html(undefined)", function() {
        expect(1);