blob: 64a021980c050421c2994bb7a0260f88887625f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module.exports = (Franz, options) => {
window.chrome = {
runtime: {
connect: () => {
return {
onMessage: {
addListener: () => {console.warn('chrome.runtime is not implemented')},
removeListener: () => {console.warn('chrome.runtime is not implemented')},
},
postMessage: () => {console.warn('chrome.runtime is not implemented')},
disconnect: () => {console.warn('chrome.runtime is not implemented')},
}
}
}
}
}
|