Ox.API: pass api to callback (todo: don't return api)

This commit is contained in:
rolux 2013-06-01 13:59:01 +02:00
parent 9a2c7c7239
commit f820e06455

View file

@ -74,7 +74,7 @@ Ox.API = function(options, callback) {
}, !val.cache ? {age: 0} : {}));
};
});
callback && callback();
callback && callback(that);
});
return that;