aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-04-02 01:29:39 +0200
committerjaubourg <j@ubourg.net>2012-04-02 01:29:39 +0200
commita41f2406748e3113751ab1e5b5d990d9144123fc (patch)
treed851963d2b4a5468cf27ae67df28b51d65f3ab55 /src/ajax.js
parenta29d482894a844724f4386f2fed0edf9cf70c069 (diff)
downloadjquery-a41f2406748e3113751ab1e5b5d990d9144123fc.tar.gz
jquery-a41f2406748e3113751ab1e5b5d990d9144123fc.zip
Makes Deferred implementation truly Promise/A compliant. Unit tests amended. Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 2bcc1d0a2..b241b257e 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -609,7 +609,7 @@ jQuery.extend({
}
} else {
tmp = map[ jqXHR.status ];
- jqXHR.then( tmp, tmp );
+ jqXHR.always( tmp );
}
}
return this;