]> source.dussan.org Git - jquery.git/commitdiff
jquery ajax: Misc rename
authorAriel Flesler <aflesler@gmail.com>
Mon, 14 Sep 2009 19:57:49 +0000 (19:57 +0000)
committerAriel Flesler <aflesler@gmail.com>
Mon, 14 Sep 2009 19:57:49 +0000 (19:57 +0000)
src/ajax.js

index c3927d15412fd600b5595c85aaceb6d8a8104839..4b22205213e386b55e3de04808877b5ba111921f 100644 (file)
@@ -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 ) {