Mercurial > hg > ugly-duckling
view src/bootstrap-feature-extraction-worker.js @ 396:3eab26a629e1
Revert changes relating to bodging unit onto the shaped features. Now return from the extraction service and add to the analysis item, and send into the cross-hair component with a prop.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 01 Jun 2017 23:04:39 +0100 |
parents | 103cc6f63da1 |
children |
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 window = null; // now we have a reference to webpackJsonp, get rid of window importScripts('/polyfills.bundle.js'); // provides the compiled FeatureExtractionWorker new (require('feature-extraction-worker'))(self, requirejs);