diff options
author | anekos | 2010-05-06 12:57:22 +0000 |
---|---|---|
committer | anekos | 2010-05-06 12:57:22 +0000 |
commit | 99c9c6759d0d5017c730c137234fbedd674082d0 (patch) | |
tree | 0a0802f6a1de2890d2a52c7813bb94140bf3c697 | |
parent | 49d160c179c024f23402a943803d32691cf553a5 (diff) | |
download | vimperator-plugins-99c9c6759d0d5017c730c137234fbedd674082d0.tar.bz2 |
改行などを除去するように
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37400 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | bitly.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ let PLUGIN_INFO = <name>bit.ly</name> <description>Get short alias by bit.ly and j.mp</description> <description lang="ja">bit.ly や j.mp で短縮URLを得る</description> - <version>2.0.0</version> + <version>2.0.1</version> <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> <license>new BSD License (Please read the source code comments of this plugin)</license> <license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license> @@ -115,7 +115,7 @@ let PLUGIN_INFO = 'format=txt'; req.open('GET', requestUri, callback); req.send(null); - return !callback && req.responseText; + return !callback && req.responseText.trim(); } let auth = getAuth(); |