From fef54cec8b6d04547f85874fb61f62602fe2b601 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Sat, 20 Feb 2016 15:20:13 +0900 Subject: [PATCH] Compact constants --- modules/constants.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/constants.js b/modules/constants.js index 8cd505ed..ca13ac1d 100644 --- a/modules/constants.js +++ b/modules/constants.js @@ -183,15 +183,15 @@ var TreeStyleTabConstants = Object.freeze({ kTABBAR_UPDATE_BY_RESET : (1 << 1), kTABBAR_UPDATE_BY_PREF_CHANGE : (1 << 2), kTABBAR_UPDATE_BY_APPEARANCE_CHANGE : (1 << 3), - kTABBAR_UPDATE_BY_TABBAR_RESIZE : (1 << 5), - kTABBAR_UPDATE_BY_WINDOW_RESIZE : (1 << 6), - kTABBAR_UPDATE_BY_FULLSCREEN : (1 << 7), - kTABBAR_UPDATE_BY_AUTOHIDE : (1 << 9), - kTABBAR_UPDATE_BY_INITIALIZE : (1 << 10), - kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR : (1 << 11), - kTABBAR_UPDATE_NOW : (1 << 5) | (1 << 6) | (1 << 9) | (1 << 10), - kTABBAR_UPDATE_SYNC_TO_TABBAR : (1 << 0) | (1 << 1) | (1 << 2) | (1 << 5) | (1 << 9), - kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 6) | (1 << 7) | (1 << 10) | (1 << 11), + kTABBAR_UPDATE_BY_TABBAR_RESIZE : (1 << 4), + kTABBAR_UPDATE_BY_WINDOW_RESIZE : (1 << 5), + kTABBAR_UPDATE_BY_FULLSCREEN : (1 << 6), + kTABBAR_UPDATE_BY_AUTOHIDE : (1 << 7), + kTABBAR_UPDATE_BY_INITIALIZE : (1 << 8), + kTABBAR_UPDATE_BY_TOGGLE_SIDEBAR : (1 << 9), + kTABBAR_UPDATE_NOW : (1 << 4) | (1 << 5) | (1 << 7) | (1 << 8), + kTABBAR_UPDATE_SYNC_TO_TABBAR : (1 << 0) | (1 << 1) | (1 << 2) | (1 << 4) | (1 << 7), + kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER : (1 << 3) | (1 << 5) | (1 << 6) | (1 << 8) | (1 << 9), kCLOSE_PARENT_BEHAVIOR_PROMOTE_FIRST_CHILD : 3, kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN : 0,