Release: remove revert artefacts

This commit is contained in:
Oleg Gaidarenko 2015-11-13 16:39:32 +03:00
parent 793925ff3b
commit 3655260866
3 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ var rootjQuery,
// Inject the element directly into the jQuery object
this.length = 1;
this[0] = elem;
this[ 0 ] = elem;
}
this.context = document;
@ -100,7 +100,7 @@ var rootjQuery,
// HANDLE: $(DOMElement)
} else if ( selector.nodeType ) {
this.context = this[0] = selector;
this.context = this[ 0 ] = selector;
this.length = 1;
return this;

View File

@ -1479,7 +1479,7 @@ QUnit.test("jQuery.parseHTML", function( assert ) {
assert.equal( jQuery.parseHTML(), null, "Nothing in, null out." );
assert.equal( jQuery.parseHTML( null ), null, "Null in, null out." );
assert.equal( jQuery.parseHTML( "" ), null, "Empty string in, null out." );
throws(function() {
assert.throws(function() {
jQuery.parseHTML( "<div></div>", document.getElementById("form") );
}, "Passing an element as the context raises an exception (context should be a document)");

View File

@ -2701,6 +2701,6 @@ QUnit.test( "Insert script with data-URI (gh-1887)", 1, function( assert ) {
assert.ok( true, "data-URI script is not supported by this environment" );
}
start();
done();
});
});