aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authorsuVene2008-12-29 15:36:08 +0000
committersuVene2008-12-29 15:36:08 +0000
commit422295f4b044038d04a9a9e7d8b51a2d71292f2e (patch)
treed14b2aac76957ccf36e7f784b1489b0425516ff6 /_libly.js
parent83d0b3b6cf9698a5f7615458631ff626bd840966 (diff)
downloadvimperator-plugins-422295f4b044038d04a9a9e7d8b51a2d71292f2e.tar.bz2
add subject_twitter.scraper.js
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27570 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to '_libly.js')
-rw-r--r--_libly.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/_libly.js b/_libly.js
index 259ec11..f7067e0 100644
--- a/_libly.js
+++ b/_libly.js
@@ -12,7 +12,7 @@ var PLUGIN_INFO =
<description lang="ja">適当なライブラリっぽいものたち。</description>
<author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author>
<license>MIT</license>
- <version>0.1.16</version>
+ <version>0.1.17</version>
<minVersion>1.2</minVersion>
<maxVersion>2.0pre</maxVersion>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/_libly.js</updateURL>
@@ -223,15 +223,18 @@ libly.$U = {//{{{
if (logins[i].username == username)
return [logins[i].username, logins[i].password]
}
- throw 'username notfound.';
+ liberator.log(this.dateFormat(new Date()) +': [getUserAndPassword] username notfound');
+ //throw 'username notfound.';
+ return [];
} else {
return [logins[0].username, logins[0].password];
}
} else {
- throw 'account notfound.';
+ liberator.log(this.dateFormat(new Date()) + ': [getUserAndPassword] account notfound');
+ return [];
}
} catch (e) {
- liberator.log('[getUserAndPassword] error: ' + e, 0);
+ liberator.log(this.dateFormat(new Date()) + ': [getUserAndPassword] error: ' + e, 0);
return null;
}
},