diff options
| author | anekos | 2011-09-12 19:44:37 +0900 |
|---|---|---|
| committer | anekos | 2011-09-12 19:44:37 +0900 |
| commit | e57b42049816037d91781f56009f37d0cc33f33e (patch) | |
| tree | b5196492945b99c4cc42592674df964235c9386a | |
| parent | 04c6641bb509955d7ce5e626267beaea11601a52 (diff) | |
| download | vimperator-plugins-e57b42049816037d91781f56009f37d0cc33f33e.tar.bz2 | |
$U.escapeRegex 追加
| -rw-r--r-- | _libly.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |
