aboutsummaryrefslogtreecommitdiffstats
path: root/_libly.js
diff options
context:
space:
mode:
authorJagua2015-09-03 01:11:26 +0900
committerJagua2015-09-03 01:11:26 +0900
commitdc84195a10f8532132f17658683e9af18b2bc1f5 (patch)
tree5a62847323b48dbc0946acf15c4a6f5f9abd551c /_libly.js
parent8d83334c5f48713c7399efd95d8b049a87f21525 (diff)
downloadvimperator-plugins-dc84195a10f8532132f17658683e9af18b2bc1f5.tar.bz2
Dropped let expression for Firefox 41+
Diffstat (limited to '_libly.js')
-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;
}