Skip to content

Commit ceeaaeb

Browse files
committed
Ajax: Remove remnants of the load event alias handling
(cherry-picked from 38a6697) Refs 0705be4 Refs gh-2287 Closes gh-2362
1 parent 42ea746 commit ceeaaeb

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/ajax/load.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,13 @@ define([
44
"../ajax",
55
"../traversing",
66
"../manipulation",
7-
"../selector",
8-
// Optional event/alias dependency
9-
"../event/alias"
7+
"../selector"
108
], function( jQuery ) {
119

12-
// Keep a copy of the old load method
13-
var _load = jQuery.fn.load;
14-
1510
/**
1611
* Load a url into a page
1712
*/
1813
jQuery.fn.load = function( url, params, callback ) {
19-
if ( typeof url !== "string" && _load ) {
20-
return _load.apply( this, arguments );
21-
}
22-
2314
var selector, response, type,
2415
self = this,
2516
off = url.indexOf(" ");

0 commit comments

Comments
 (0)