Said Achmiz 7 лет назад
Родитель
Сommit
d14a59435a
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      src/background.js

+ 3
- 3
src/background.js Просмотреть файл



var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.onload = () => { xhr.onload = () => {
AKS.actionIcons = JSON.parse(this.response);
AKS.actionIcons = JSON.parse(xhr.response);
completeInitialization(); completeInitialization();
}; };
xhr.open('GET', chrome.extension.getURL('/action_icons.json'), true);
xhr.open('GET', chrome.extension.getURL('action_icons.json'), true);
xhr.send(); xhr.send();
} }


initialize;
initialize();





Загрузка…
Отмена
Сохранить