diff --git a/src/drivers/webextension/js/utils.js b/src/drivers/webextension/js/utils.js index 69ae47891..4f56b59f1 100644 --- a/src/drivers/webextension/js/utils.js +++ b/src/drivers/webextension/js/utils.js @@ -49,7 +49,7 @@ const Utils = { */ async getOption(name, defaultValue = null) { try { - const option = await chrome.storage.local.get(name) + const option = await Utils.promisify(chrome.storage.local, 'get', name) if (option[name] !== undefined) { return option[name] @@ -69,7 +69,7 @@ const Utils = { */ async setOption(name, value) { try { - await chrome.storage.local.set({ + await Utils.promisify(chrome.storage.local, 'set', { [name]: value, }) } catch (error) { diff --git a/src/technologies/v.json b/src/technologies/v.json index e17acab6d..be4e46b63 100644 --- a/src/technologies/v.json +++ b/src/technologies/v.json @@ -952,9 +952,11 @@ "css": "\\.vue-notification-group", "description": "Vue.js is an open-source model–view–viewmodel JavaScript framework for building user interfaces and single-page applications.", "html": "<[^>]+\\sdata-v(?:ue)?-", + "dom": ".vue-app", "icon": "vue.svg", "js": { "Vue.version": "^(.+)$\\;version:\\1", + "VueRoot": "", "__VUE_HOT_MAP__": "", "__VUE__": "", "vueDLL": "" @@ -1066,4 +1068,4 @@ }, "website": "http://vibecommerce.com.br" } -} \ No newline at end of file +}