changeset 73:d3abd81e8ab6

Bootstrap RequireJS for injecting into the worker.
author Lucas Thompson <dev@lucas.im>
date Wed, 18 Jan 2017 10:18:35 +0000
parents cb91d7e40068
children 2c3fe51ad1f0
files src/bootstrap-feature-extraction-worker.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bootstrap-feature-extraction-worker.js	Wed Jan 18 10:18:10 2017 +0000
+++ b/src/bootstrap-feature-extraction-worker.js	Wed Jan 18 10:18:35 2017 +0000
@@ -6,4 +6,4 @@
 const webpackJsonp = window['webpackJsonp'];
 importScripts('scripts.bundle.js'); // needs webpackJsonp, hence above - provides require
 
-new (require('feature-extraction-worker'))(self);
+new (require('feature-extraction-worker'))(self, requirejs);