aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authoranekos2011-09-12 19:44:37 +0900
committeranekos2011-09-12 19:44:37 +0900
commite57b42049816037d91781f56009f37d0cc33f33e (patch)
treeb5196492945b99c4cc42592674df964235c9386a /_libly.js
parent04c6641bb509955d7ce5e626267beaea11601a52 (diff)
downloadvimperator-plugins-e57b42049816037d91781f56009f37d0cc33f33e.tar.bz2
$U.escapeRegex 追加
Diffstat (limited to '_libly.js')
-rw-r--r--_libly.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/_libly.js b/_libly.js
index 187e3f0..b2a558d 100644
--- a/_libly.js
+++ b/_libly.js
@@ -245,8 +245,8 @@ libly.$U = {//{{{
let pluginPath;
Error('hoge').stack.split(/\n/).some(
function (s)
- let (m = s.match(/^\(\)@chrome:\/\/liberator\/content\/liberator\.js -> (.+):\d+$/))
- (m && (pluginPath = m[1]))
+ let (m = s.match(/^(?:\(\))?@chrome:\/\/liberator\/content\/liberator\.js -> (.+):\d+$/))
+ (m && (pluginPath = m[1].replace(/\?.*$/, '')))
);
return pluginPath;
}