Merge branch 'master' into 0.19

This commit is contained in:
Nick O'Leary
2018-05-25 13:58:15 +01:00
11 changed files with 79 additions and 19 deletions

View File

@@ -86,6 +86,10 @@ function init(config) {
} else {
api.authenticate = authenticate;
}
} else {
api.get = get;
api.authenticate = authenticate;
api.default = api.default;
}
if (config.default) {
if (typeof config.default === "function") {