Fix js strict-mode error: avoid prohibits function statements not at the top level of a script or function.

This commit is contained in:
saneyuki_s 2013-02-13 00:49:01 +09:00
parent 70fdbb190d
commit e691e6759e

View File

@ -328,7 +328,7 @@ TreeStyleTabWindowHelper.overrideExtensionsBeforeBrowserInit = function TSTWH_ov
if (TreeStyleTabUtils.getTreePref('compatibility.TMP') &&
'isTabVisible' in gBrowser.mTabContainer &&
'ensureTabIsVisible' in gBrowser.mTabContainer) {
function replaceHorizontalProps(aString)
let replaceHorizontalProps = function replaceHorizontalProps(aString)
{
return aString.replace(
/boxObject\.x/g,