mirror of https://github.com/YosysHQ/yosys.git
Fixed YosysJS.create_worker() usage of this.url_prefix
This commit is contained in:
parent
85aaf08e53
commit
55acc51ad4
|
@ -224,7 +224,7 @@ var YosysJS = new function() {
|
|||
this.create_worker = function(on_ready) {
|
||||
var ys = new Object();
|
||||
ys.YosysJS = this;
|
||||
ys.worker = new Worker('yosyswrk.js');
|
||||
ys.worker = new Worker(this.url_prefix + 'yosyswrk.js');
|
||||
ys.callback_idx = 1;
|
||||
ys.callback_cache = {};
|
||||
ys.errmsg = "";
|
||||
|
|
Loading…
Reference in New Issue