Mercurial > hg > ugly-duckling
view src/bootstrap-feature-extraction-worker.js @ 196:aa1c92c553cb
A few different @Input flags allowing for using component for just a waveform or features or both, turning off seeking and allowing more than one feature to be extracted to the component. Very messy, desperately needs refactoring.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 24 Mar 2017 11:00:54 +0000 |
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);