Tidy up default grunt task and fixup test break due to reorder

Fixes #1738
This commit is contained in:
Nick O'Leary
2018-05-25 11:36:17 +01:00
parent 7f89a4a26f
commit bca020bc4d
4 changed files with 12 additions and 6 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") {