Merge pull request #458 from saneyuki/strict

Fix js strict-mode error.
This commit is contained in:
YUKI "Piro" Hiroshi 2013-03-28 06:08:31 -07:00
commit 5e0048e234

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,