aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authordrry2009-01-04 16:47:02 +0000
committerdrry2009-01-04 16:47:02 +0000
commit2c9b8d08a5eaf9589d370f00a7e201d1d3783ef1 (patch)
tree0679f2d223f872177367ee5013acabb22b9e74ab /_libly.js
parenteedccef4a1da859fb5f6382a4ee34c059a4c42cb (diff)
downloadvimperator-plugins-2c9b8d08a5eaf9589d370f00a7e201d1d3783ef1.tar.bz2
* (and whitespace changes)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27926 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to '_libly.js')
-rw-r--r--_libly.js4
1 files changed, 2 insertions, 2 deletions
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')