From: Ariel Flesler Date: Mon, 14 Sep 2009 19:57:49 +0000 (+0000) Subject: jquery ajax: Misc rename X-Git-Tag: 1.4a1~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36ebb4f75ed2d6684c132ddbeb9a05ef015fbc90;p=jquery.git jquery ajax: Misc rename --- diff --git a/src/ajax.js b/src/ajax.js index c3927d154..4b2220521 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -524,11 +524,11 @@ jQuery.extend({ // Determines if an XMLHttpRequest returns NotModified httpNotModified: function( xhr, url ) { - var last_modified = xhr.getResponseHeader("Last-Modified"), + var lastModified = xhr.getResponseHeader("Last-Modified"), etag = xhr.getResponseHeader("Etag"); - if ( last_modified ) { - jQuery.lastModified[url] = last_modified; + if ( lastModified ) { + jQuery.lastModified[url] = lastModified; } if ( etag ) {