view src/bootstrap-feature-extraction-worker.js @ 44:13f5f228ed98

Add a component for the feature extraction menu, and start setting up some comms with the worker. Currently populating a select box with list of extractors from hardcoded server.
author Lucas Thompson <dev@lucas.im>
date Fri, 02 Dec 2016 16:55:14 +0000
parents f7244f2155a3
children d3abd81e8ab6
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 require

new (require('feature-extraction-worker'))(self);