mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
bump 0.4.2
This commit is contained in:
parent
93ddf08615
commit
f3853d8e7f
@ -13,8 +13,14 @@ var ajax = function (url, options) {
|
||||
xhr.send();
|
||||
|
||||
return {
|
||||
then: function (cb) { return xhr.addEventListener('load', cb); },
|
||||
catch: function (cb) { return xhr.addEventListener('error', cb); }
|
||||
then: function (cb) {
|
||||
xhr.addEventListener('load', cb);
|
||||
return this
|
||||
},
|
||||
catch: function (cb) {
|
||||
xhr.addEventListener('error', cb);
|
||||
return this
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
2
lib/docsify.min.js
vendored
2
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user