jquery ajax: Misc rename

This commit is contained in:
Ariel Flesler 2009-09-14 19:57:49 +00:00
parent 0790989eb6
commit 36ebb4f75e

View 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 ) {