annotate src/bootstrap-feature-extraction-worker.js @ 284:f0c9c9d860e7
Introduce app level, injectable, observable for dimension changes.
author |
Lucas Thompson <dev@lucas.im> |
date |
Thu, 04 May 2017 16:57:57 +0100 |
parents |
8f2b2aed0df1 |
children |
103cc6f63da1 |
rev |
line source |
dev@40
|
1 /**
|
dev@40
|
2 * Created by lucas on 01/12/2016.
|
dev@40
|
3 */
|
dev@40
|
4 let window = {};
|
dev@93
|
5 importScripts('/inline.bundle.js'); // provides webpackJsonp
|
dev@40
|
6 const webpackJsonp = window['webpackJsonp'];
|
dev@93
|
7 importScripts('/scripts.bundle.js'); // needs webpackJsonp, hence above - provides RequireJS
|
dev@93
|
8 importScripts('/polyfills.bundle.js'); // provides the compiled FeatureExtractionWorker
|
dev@40
|
9
|
dev@73
|
10 new (require('feature-extraction-worker'))(self, requirejs);
|