rayzee 4.8.3 → 4.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
* Cross-origin Worker utility.
|
|
3
3
|
*
|
|
4
4
|
* Browsers block `new Worker(url)` when the script is cross-origin (e.g. CDN).
|
|
5
|
-
* The workaround: create a same-origin blob that
|
|
6
|
-
* This preserves the original URL as the
|
|
7
|
-
* the worker script.
|
|
5
|
+
* The workaround: create a same-origin blob that `import()`s the real script.
|
|
6
|
+
* This preserves the original URL as the base for relative imports inside the worker.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
9
|
function crossOriginWorker( url, options ) {
|