diff options
author | mattn | 2008-04-10 05:14:07 +0000 |
---|---|---|
committer | mattn | 2008-04-10 05:14:07 +0000 |
commit | 241885a24f274b41760263a975d100be9e45b2f7 (patch) | |
tree | b104362daf7f1863e63f1bdeb4f5449d83445ab7 /twitter.js | |
parent | db262df7eb5c9780688781bdaad996fbb54bef27 (diff) | |
download | vimperator-plugins-241885a24f274b41760263a975d100be9e45b2f7.tar.bz2 |
lang/javascript/vimperator-plugins/trunk/twitter.js:
* ステータスが複数行で表示されてしまうので行末から続く空文字をカット
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@9244 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twitter.js')
-rw-r--r-- | twitter.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,8 @@ border="0"/>
<strong>{stat.user.name}</strong>
: {stat.text}<br/>
- </>.toSource();
+ </>.toSource()
+ .replace(/(?:\r?\n|\r)\s*/g, '');
});
liberator.log(html);
liberator.echo(html, true);
|