aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_libly.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/_libly.js b/_libly.js
index a1eb4ad..397db33 100644
--- a/_libly.js
+++ b/_libly.js
@@ -246,9 +246,10 @@ libly.$U = {//{{{
function getPluginPath () {
let pluginPath;
Error('hoge').stack.split(/\n/).some(
- function (s)
- let (m = s.match(/@chrome:\/\/liberator\/content\/liberator\.js -> file:\/\/\/(.+):\d+$/))
- (m && (pluginPath = m[1].replace(/\?.*$/, '')))
+ function (s) {
+ let m = s.match(/@chrome:\/\/liberator\/content\/liberator\.js -> file:\/\/\/(.+):\d+$/);
+ (m && (pluginPath = m[1].replace(/\?.*$/, '')));
+ }
);
return pluginPath;
}