Fix minor syntax errors

This commit is contained in:
YUKI Hiroshi 2012-10-12 16:56:16 +09:00
parent 83626af553
commit 59281101a4
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@
initTabDNDObserver : function TDU_initTabDNDObserver(aObserver) initTabDNDObserver : function TDU_initTabDNDObserver(aObserver)
{ {
if ('_setEffectAllowedForDataTransfer' in aObserver && if ('_setEffectAllowedForDataTransfer' in aObserver &&
aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabDragUtils') < 0) { aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabsDragUtils') < 0) {
eval('aObserver._setEffectAllowedForDataTransfer = '+ eval('aObserver._setEffectAllowedForDataTransfer = '+
aObserver._setEffectAllowedForDataTransfer.toSource().replace( aObserver._setEffectAllowedForDataTransfer.toSource().replace(
'dt.mozItemCount > 1', 'dt.mozItemCount > 1',
@ -108,7 +108,7 @@
} }
if ('_animateTabMove' in aObserver && if ('_animateTabMove' in aObserver &&
aObserver._animateTabMove.toSource().indexOf('tabDragUtils') < 0) { aObserver._animateTabMove.toSource().indexOf('tabsDragUtils') < 0) {
eval('aObserver._animateTabMove = '+ eval('aObserver._animateTabMove = '+
aObserver._animateTabMove.toSource().replace( // support vertical tab bar aObserver._animateTabMove.toSource().replace( // support vertical tab bar
/\.screenX/g, /\.screenX/g,

View File

@ -101,7 +101,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
' }' + ' }' +
' tabsInfo[this.permaTabs[index].id] = info;' + ' tabsInfo[this.permaTabs[index].id] = info;' +
' }' + ' }' +
' TST.setTreePref('permaTabsInfo', tabsInfo.toSource());' + ' TST.setTreePref("permaTabsInfo", tabsInfo.toSource());' +
'}).call(this);' '}).call(this);'
) )
); );