From f820e06455d894e9c690df22ae4e4444aa82d325 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 1 Jun 2013 13:59:01 +0200 Subject: [PATCH] Ox.API: pass api to callback (todo: don't return api) --- source/Ox.UI/js/Core/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/API.js b/source/Ox.UI/js/Core/API.js index caa7ccf2..b9c06457 100644 --- a/source/Ox.UI/js/Core/API.js +++ b/source/Ox.UI/js/Core/API.js @@ -74,7 +74,7 @@ Ox.API = function(options, callback) { }, !val.cache ? {age: 0} : {})); }; }); - callback && callback(); + callback && callback(that); }); return that;