Permalink
Browse files

Release: remove revert artefacts

  • Loading branch information...
markelog committed Nov 13, 2015
1 parent 793925f commit 3655260866cdcfe42a1117bfb9603144c9e4d829
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/core/init.js
  2. +1 −1 test/unit/core.js
  3. +1 −1 test/unit/manipulation.js
View
@@ -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
@@ -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)");
@@ -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();
});
});

0 comments on commit 3655260

Please sign in to comment.