Note that these are still used in other places, e.g. instantfoxModule.js:980. This might break in the future - it would be a good idea to convert them to arrow functions or traditional function expressions. Occurrences can be found with the regex function\s*\([^)]*\)\s*[^\s{] and the fix is easy - but that is beyond the scope of this PR.
This fixes issue #115.
Seems that FF41 removed expression closures, at least in this context.
Note that these are still used in other places, e.g.
instantfoxModule.js:980
. This might break in the future - it would be a good idea to convert them to arrow functions or traditional function expressions. Occurrences can be found with the regexfunction\s*\([^)]*\)\s*[^\s{]
and the fix is easy - but that is beyond the scope of this PR.