bump 0.4.2
This commit is contained in:
parent
93ddf08615
commit
f3853d8e7f
2 changed files with 9 additions and 3 deletions
|
|
@ -13,8 +13,14 @@ var ajax = function (url, options) {
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
then: function (cb) { return xhr.addEventListener('load', cb); },
|
then: function (cb) {
|
||||||
catch: function (cb) { return xhr.addEventListener('error', 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…
Add table
Add a link
Reference in a new issue