From 2c9b8d08a5eaf9589d370f00a7e201d1d3783ef1 Mon Sep 17 00:00:00 2001 From: drry Date: Sun, 4 Jan 2009 16:47:02 +0000 Subject: * (and whitespace changes) git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27926 d0d07461-0603-4401-acd4-de1884942a52 --- _libly.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_libly.js') diff --git a/_libly.js b/_libly.js index fcdff1f..083449c 100644 --- a/_libly.js +++ b/_libly.js @@ -525,7 +525,7 @@ libly.Wedata.prototype = { if (store && store.get('data') && new Date(store.get('expire')) > new Date()) { logger.log('return cache. '); store.get('data').forEach(function(item) { if (typeof itemCallback == 'function') itemCallback(item); }); - if (typeof finalCallback == 'function') + if (typeof finalCallback == 'function') finalCallback(true, store.get('data')); return; } @@ -536,7 +536,7 @@ libly.Wedata.prototype = { if (cache) { logger.log('return cache. -> ' + msg); cache.forEach(function(item) { if (typeof itemCallback == 'function') itemCallback(item); }); - if (typeof finalCallback == 'function') + if (typeof finalCallback == 'function') finalCallback(true, cache); } else { if (typeof finalCallback == 'function') -- cgit v1.2.3