Skip to content

Commit 3655260

Browse files
committed
Release: remove revert artefacts
1 parent 793925f commit 3655260

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/core/init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var rootjQuery,
8080

8181
// Inject the element directly into the jQuery object
8282
this.length = 1;
83-
this[0] = elem;
83+
this[ 0 ] = elem;
8484
}
8585

8686
this.context = document;
@@ -100,7 +100,7 @@ var rootjQuery,
100100

101101
// HANDLE: $(DOMElement)
102102
} else if ( selector.nodeType ) {
103-
this.context = this[0] = selector;
103+
this.context = this[ 0 ] = selector;
104104
this.length = 1;
105105
return this;
106106

test/unit/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ QUnit.test("jQuery.parseHTML", function( assert ) {
14791479
assert.equal( jQuery.parseHTML(), null, "Nothing in, null out." );
14801480
assert.equal( jQuery.parseHTML( null ), null, "Null in, null out." );
14811481
assert.equal( jQuery.parseHTML( "" ), null, "Empty string in, null out." );
1482-
throws(function() {
1482+
assert.throws(function() {
14831483
jQuery.parseHTML( "<div></div>", document.getElementById("form") );
14841484
}, "Passing an element as the context raises an exception (context should be a document)");
14851485

test/unit/manipulation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2701,6 +2701,6 @@ QUnit.test( "Insert script with data-URI (gh-1887)", 1, function( assert ) {
27012701
assert.ok( true, "data-URI script is not supported by this environment" );
27022702
}
27032703

2704-
start();
2704+
done();
27052705
});
27062706
});

0 commit comments

Comments
 (0)