diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-10 20:07:42 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-10 20:07:42 +0100 |
commit | 473503a246aa7a23539a349710c5549d1d87c147 (patch) | |
tree | 2b1ee9b420df72a0d861759d1fbcd2226e489086 /extension/background/timerThread.js | |
parent | dd19e0ecbe114ebd71122ff57ea56eabb6258b75 (diff) |
The great modularization.
Use ES6 module syntax and SystemJS modules for everything.
Some testing stubs were added as well.
Diffstat (limited to 'extension/background/timerThread.js')
-rw-r--r-- | extension/background/timerThread.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/extension/background/timerThread.js b/extension/background/timerThread.js deleted file mode 100644 index 7ade360f3..000000000 --- a/extension/background/timerThread.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file should be used as a WebWorker. - * Background pages in the WebExtensions model do - * not allow to schedule callbacks that should be called - * after a timeout. We can emulate this with WebWorkers. - */ - -onmessage = function(e) { - self.setInterval(() => postMessage(true), e.data.interval); -};
\ No newline at end of file |