Mercurial > hg > ugly-duckling
view src/bootstrap-feature-extraction-worker.js @ 235:76f2cd2c5a68
Refactor the root component to push the app state down to children.
Currently using an ad-hoc container with similar interface as array used previously. not thought out.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 24 Apr 2017 17:05:12 +0100 |
parents | 8f2b2aed0df1 |
children | 103cc6f63da1 |
line wrap: on
line source
/** * Created by lucas on 01/12/2016. */ let window = {}; importScripts('/inline.bundle.js'); // provides webpackJsonp const webpackJsonp = window['webpackJsonp']; importScripts('/scripts.bundle.js'); // needs webpackJsonp, hence above - provides RequireJS importScripts('/polyfills.bundle.js'); // provides the compiled FeatureExtractionWorker new (require('feature-extraction-worker'))(self, requirejs);