@edx/edx-proctoring
Advanced tools
Comparing version 1.5.10 to 1.5.11
@@ -52,6 +52,11 @@ var edx = edx || {}; | ||
function createWorker(url) { | ||
var blob = new Blob(["importScripts('" + location.origin + url + "');"], { "type": 'application/javascript' }); | ||
var blobUrl = window.URL.createObjectURL(blob); | ||
return new Worker(blobUrl); | ||
} | ||
function workerPromiseForEventNames(eventNames) { | ||
return function() { | ||
var proctoringBackendWorker = new Worker(edx.courseware.proctored_exam.configuredWorkerURL); | ||
var proctoringBackendWorker = createWorker(edx.courseware.proctored_exam.configuredWorkerURL); | ||
return new Promise(function(resolve, reject) { | ||
@@ -58,0 +63,0 @@ var responseHandler = function(e) { |
@@ -5,3 +5,3 @@ { | ||
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.", | ||
"version": "1.5.10", | ||
"version": "1.5.11", | ||
"main": "edx_proctoring/static/index.js", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
411568
5634