diff options
author | drry | 2009-01-04 16:47:02 +0000 |
---|---|---|
committer | drry | 2009-01-04 16:47:02 +0000 |
commit | 2c9b8d08a5eaf9589d370f00a7e201d1d3783ef1 (patch) | |
tree | 0679f2d223f872177367ee5013acabb22b9e74ab /_libly.js | |
parent | eedccef4a1da859fb5f6382a4ee34c059a4c42cb (diff) | |
download | vimperator-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.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |