# HG changeset patch # User Lucas Thompson # Date 1494604131 -3600 # Node ID 103cc6f63da13d5a68d9190b47dc25b24d77042f # Parent e356409f4c458ead2afa9f5a35ae6dc9c33aabc0 The existence of a window object was screwing up something a recent update in RxJs introduced where it figures out what environment it is in. This is so brittle. diff -r e356409f4c45 -r 103cc6f63da1 src/bootstrap-feature-extraction-worker.js --- a/src/bootstrap-feature-extraction-worker.js Fri May 12 12:22:46 2017 +0100 +++ b/src/bootstrap-feature-extraction-worker.js Fri May 12 16:48:51 2017 +0100 @@ -5,6 +5,7 @@ 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);