diff options
Diffstat (limited to 'src/ajax/load.js')
-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(" "); |