Add "is" prefix for a boolean-expected variable
This commit is contained in:
parent
7dd94bf92a
commit
183cc904cc
@ -96,8 +96,8 @@ function TreeStyleTabWindow(aWindow)
|
|||||||
|
|
||||||
XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js');
|
XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js');
|
||||||
|
|
||||||
var DevEdition = this.window.AppConstants.MOZ_DEV_EDITION;
|
var isDevEdition = this.window.AppConstants.MOZ_DEV_EDITION;
|
||||||
if (DevEdition) {
|
if (isDevEdition) {
|
||||||
var rootelem = this.document.documentElement;
|
var rootelem = this.document.documentElement;
|
||||||
rootelem.setAttribute('treestyletab-devedition', true);
|
rootelem.setAttribute('treestyletab-devedition', true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user