Permalink
Browse files

Ajax: Remove remnants of the load event alias handling

Refs 0705be4
Refs gh-2287
Closes gh-2362
  • Loading branch information...
mgol committed May 30, 2015
1 parent d471842 commit 38a669735d08bcbd28cfb0d77eee82c67aa89eeb
Showing with 1 addition and 10 deletions.
  1. +1 −10 src/ajax/load.js
View
@@ -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(" ");

0 comments on commit 38a6697

Please sign in to comment.