diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-13 17:20:55 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-13 17:20:55 -0400 |
commit | cb236a743081e8ea4809a8a559abf9f0f22e771c (patch) | |
tree | 581b4ccc531d2191a2855aefd1bfe556ac228443 /ext/bg/js/backend.js | |
parent | c92fc11fcdad294059931a0927ec7f7701eb5be5 (diff) |
Add apiGetEnvironmentInfo function
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index 32ff1bef..7560f39e 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -186,7 +186,8 @@ Backend.messageHandlers = { screenshotGet: ({options}, sender) => apiScreenshotGet(options, sender), forward: ({action, params}, sender) => apiForward(action, params, sender), frameInformationGet: (params, sender) => apiFrameInformationGet(sender), - injectStylesheet: ({css}, sender) => apiInjectStylesheet(css, sender) + injectStylesheet: ({css}, sender) => apiInjectStylesheet(css, sender), + getEnvironmentInfo: () => apiGetEnvironmentInfo() }; window.yomichan_backend = new Backend(); |