From dc84195a10f8532132f17658683e9af18b2bc1f5 Mon Sep 17 00:00:00 2001 From: Jagua Date: Thu, 3 Sep 2015 01:11:26 +0900 Subject: Dropped let expression for Firefox 41+ --- _libly.js | 7 ++++--- 1 file 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; } -- cgit v1.2.3