Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: jquery-1.7.2.js
- ===================================================================
- --- jquery-1.7.2.js (revision 1989)
- +++ jquery-1.7.2.js (working copy)
- @@ -7156,14 +7156,13 @@
- }
- }
- - var self = this;
- -
- // Request the remote document
- jQuery.ajax({
- url: url,
- type: type,
- dataType: "html",
- data: params,
- + context: this,
- // Complete callback (responseText is used internally)
- complete: function( jqXHR, status, responseText ) {
- // Store the response as specified by the jqXHR object
- @@ -7176,7 +7175,7 @@
- responseText = r;
- });
- // See if a selector was specified
- - self.html( selector ?
- + this.html( selector ?
- // Create a dummy div to hold the results
- jQuery("<div>")
- // inject the contents of the document in, removing the scripts
- @@ -7191,7 +7190,7 @@
- }
- if ( callback ) {
- - self.each( callback, [ responseText, status, jqXHR ] );
- + this.each( callback, [ responseText, status, jqXHR ] );
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement