mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984237 - Specify mime type in require.js. r=gozala
This commit is contained in:
parent
80a71f8d6e
commit
5bd0ff3c56
@ -195,7 +195,12 @@
|
||||
"function(exports, require, module) {" +
|
||||
source +
|
||||
"\n}\n";
|
||||
let blob = new Blob([(new TextEncoder()).encode(source)]);
|
||||
let blob = new Blob(
|
||||
[
|
||||
(new TextEncoder()).encode(source)
|
||||
], {
|
||||
type: "application/javascript"
|
||||
});
|
||||
objectURL = URL.createObjectURL(blob);
|
||||
paths.set(objectURL, path);
|
||||
importScripts(objectURL);
|
||||
|
Loading…
Reference in New Issue
Block a user