Skip to content

Commit

Permalink
rewrite a let statement for firefox41+
Browse files Browse the repository at this point in the history
  • Loading branch information
max747 committed Sep 23, 2015
1 parent 5daedd9 commit 8549fd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multi_requester.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ var MultiRequester = {
let srcEncode = info.srcEncode || "UTF-8";
let urlEncode = info.urlEncode || srcEncode;

let repStrCount = let (m = url.match(/%s/g)) (m && m.length);
let m = url.match(/%s/g);
let repStrCount = m && m.length;
if (repStrCount && !parsedArgs.strs.length) continue;

// via. lookupDictionary.js
Expand Down

0 comments on commit 8549fd0

Please sign in to comment.