diff options
Diffstat (limited to 'app/javascript/packs')
-rw-r--r-- | app/javascript/packs/application.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index a18528e..65ab536 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -20,3 +20,6 @@ import { definitionsFromContext } from "stimulus/webpack-helpers" const application = Application.start() const context = require.context("../controllers", true, /\.js$/) application.load(definitionsFromContext(context)) + +window.App = {}; +App.timerWorker = new Worker("/timer_worker.js"); |