Add "is" prefix for a boolean-expected variable

This commit is contained in:
YUKI "Piro" Hiroshi 2016-07-16 23:01:48 +09:00 committed by GitHub
parent 7dd94bf92a
commit 183cc904cc

View File

@ -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);
} }