Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Commit 94258c4

Browse files
author
Ian Maffett
committed
Merge pull request #636 from Philzen/patch-1
Fixed Typo in $.ajax
2 parents 973a24b + 0244090 commit 94258c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appframework.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ if (!window.af || typeof(af) !== "function") {
17251725
$.ajax(opts);
17261726
```
17271727
1728-
* @param {Object} opts Options
1728+
* @param {object} opts Options
17291729
* @title $.ajax(options)
17301730
*/
17311731
$.ajax = function(opts) {
@@ -1851,7 +1851,7 @@ if (!window.af || typeof(af) !== "function") {
18511851
deferred.reject.call(context, xhr, "parsererror", error);
18521852
}
18531853
else {
1854-
deferred.resolve.call(context, result, "succes", xhr);
1854+
deferred.resolve.call(context, result, "success", xhr);
18551855
settings.success.call(context, result, "success", xhr);
18561856
}
18571857
} else {

0 commit comments

Comments
 (0)