aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2010-09-17 16:51:34 +0000
committeranekos2010-09-17 16:51:34 +0000
commita5781a58211b7fdcd2e5d93a16b217bbd491622b (patch)
tree129cf13997aefded97bcfe313d4162c629e7f53e
parent9a4db18e97699ea112a681e7e72a6ed2575e3d51 (diff)
downloadvimperator-plugins-a5781a58211b7fdcd2e5d93a16b217bbd491622b.tar.bz2
一部revert: 謎なので
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38480 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-xtwittperator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index 4944659..fcf8f37 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1321,7 +1321,7 @@ let PLUGIN_INFO =
lines[0] = buf + lines[0];
for (let [, line] in Iterator(lines.slice(0, -1))) {
try {
- if (/^[ \n\r\t]*\{/(line))
+ if (/^\s*\{/(line))
onMsg(Utils.fixStatusObject(JSON.parse(line)), line);
} catch (e) { liberator.log(e); }
}