diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-05-30 19:09:32 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-06-01 19:05:54 +0200 |
commit | 38a669735d08bcbd28cfb0d77eee82c67aa89eeb (patch) | |
tree | 099c71ad7a16699d45d528142875fa30c1d38506 /src | |
parent | d471842b3e3af83c9a1be06b5d16f75bfa96af8c (diff) | |
download | jquery-38a669735d08bcbd28cfb0d77eee82c67aa89eeb.tar.gz jquery-38a669735d08bcbd28cfb0d77eee82c67aa89eeb.zip |
Ajax: Remove remnants of the load event alias handling
Refs 0705be475092aede1eddae01319ec931fb9c65fc
Refs gh-2287
Closes gh-2362
Diffstat (limited to 'src')
-rw-r--r-- | src/ajax/load.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/ajax/load.js b/src/ajax/load.js index 00a9f46f6..8326e9287 100644 --- a/src/ajax/load.js +++ b/src/ajax/load.js @@ -4,22 +4,13 @@ define([ "../ajax", "../traversing", "../manipulation", - "../selector", - // Optional event/alias dependency - "../event/alias" + "../selector" ], function( jQuery ) { -// Keep a copy of the old load method -var _load = jQuery.fn.load; - /** * Load a url into a page */ jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - var selector, type, response, self = this, off = url.indexOf(" "); |