code review and feedback changes

This commit is contained in:
Kendall Werts
2020-02-25 18:25:10 -06:00
parent 2679c4e15f
commit 807435ca4b
13 changed files with 88 additions and 58 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
const NUM_OF_KEYBOARD_SHORTCUTS = 2;
window.identityState = {
keyboardShortcut: {},
storageArea: {
@@ -51,7 +49,7 @@ window.identityState = {
},
async loadKeyboardShortcuts () {
for (let i=0; i < NUM_OF_KEYBOARD_SHORTCUTS; i++) {
for (let i=0; i < backgroundLogic.NUMBER_OF_KEYBOARD_SHORTCUTS; i++) {
const key = "open_container_" + i;
const storageObject = await this.area.get(key);
identityState.keyboardShortcut[key] = storageObject[key];