mirror of
https://github.com/jquery/jquery.git
synced 2026-02-05 12:59:22 -05:00
Revert "Closes #741: Remove $("body") case in favor of $(document.body)."
This reverts commit 532ba250a9.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
/*jshint multistr:true*/
|
||||
|
||||
var jQuery = this.jQuery || "jQuery", // For testing .noConflict()
|
||||
$ = this.$ || "$",
|
||||
originaljQuery = jQuery,
|
||||
@@ -47,53 +45,6 @@ function t(a,b,c) {
|
||||
deepEqual(f, q.apply(q,c), a + " (" + b + ")");
|
||||
}
|
||||
|
||||
|
||||
var createDashboardXML = function() {
|
||||
var string = '<?xml version="1.0" encoding="UTF-8"?> \
|
||||
<dashboard> \
|
||||
<locations class="foo"> \
|
||||
<location for="bar" checked="different"> \
|
||||
<infowindowtab> \
|
||||
<tab title="Location"><![CDATA[blabla]]></tab> \
|
||||
<tab title="Users"><![CDATA[blublu]]></tab> \
|
||||
</infowindowtab> \
|
||||
</location> \
|
||||
</locations> \
|
||||
</dashboard>';
|
||||
|
||||
return jQuery.parseXML(string);
|
||||
};
|
||||
|
||||
var createWithFriesXML = function() {
|
||||
var string = '<?xml version="1.0" encoding="UTF-8"?> \
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" \
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" \
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> \
|
||||
<soap:Body> \
|
||||
<jsconf xmlns="http://www.example.com/ns1"> \
|
||||
<response xmlns:ab="http://www.example.com/ns2"> \
|
||||
<meta> \
|
||||
<component id="seite1" class="component"> \
|
||||
<properties xmlns:cd="http://www.example.com/ns3"> \
|
||||
<property name="prop1"> \
|
||||
<thing /> \
|
||||
<value>1</value> \
|
||||
</property> \
|
||||
<property name="prop2"> \
|
||||
<thing att="something" /> \
|
||||
</property> \
|
||||
<foo_bar>foo</foo_bar> \
|
||||
</properties> \
|
||||
</component> \
|
||||
</meta> \
|
||||
</response> \
|
||||
</jsconf> \
|
||||
</soap:Body> \
|
||||
</soap:Envelope>';
|
||||
|
||||
return jQuery.parseXML(string);
|
||||
};
|
||||
|
||||
var fireNative;
|
||||
if ( document.createEvent ) {
|
||||
fireNative = function( node, type ) {
|
||||
@@ -208,4 +159,4 @@ function url(value) {
|
||||
window.start = function() {
|
||||
oldStart();
|
||||
};
|
||||
})();
|
||||
})();
|
||||
Reference in New Issue
Block a user