Ox.API: pass api to callback (todo: don't return api)
This commit is contained in:
parent
9a2c7c7239
commit
f820e06455
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ Ox.API = function(options, callback) {
|
||||||
}, !val.cache ? {age: 0} : {}));
|
}, !val.cache ? {age: 0} : {}));
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
callback && callback();
|
callback && callback(that);
|
||||||
});
|
});
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
|
|
Loading…
Reference in a new issue