From ceeaaeb45e2d3b9bcd1c56208b2dea2fc580ef41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Sat, 30 May 2015 19:09:32 +0200 Subject: [PATCH] Ajax: Remove remnants of the load event alias handling (cherry-picked from 38a669735d08bcbd28cfb0d77eee82c67aa89eeb) Refs 0705be475092aede1eddae01319ec931fb9c65fc Refs gh-2287 Closes gh-2362 --- src/ajax/load.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/ajax/load.js b/src/ajax/load.js index d28277bde..1b3ebcfc9 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, response, type, self = this, off = url.indexOf(" ");