From 183cc904cc467ae9b0dc2c5f3f91eb44c0fd85b5 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Sat, 16 Jul 2016 23:01:48 +0900 Subject: [PATCH] Add "is" prefix for a boolean-expected variable --- modules/window.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/window.js b/modules/window.js index 7bb34fb1..bbc7bfb4 100644 --- a/modules/window.js +++ b/modules/window.js @@ -96,8 +96,8 @@ function TreeStyleTabWindow(aWindow) XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js'); - var DevEdition = this.window.AppConstants.MOZ_DEV_EDITION; - if (DevEdition) { + var isDevEdition = this.window.AppConstants.MOZ_DEV_EDITION; + if (isDevEdition) { var rootelem = this.document.documentElement; rootelem.setAttribute('treestyletab-devedition', true); }