summaryrefslogtreecommitdiff
path: root/misc/yosysjs
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-07-10 13:20:57 +0200
committerClifford Wolf <clifford@clifford.at>2015-07-10 13:20:57 +0200
commit55acc51ad46f381614daf0dc399b9258ab332206 (patch)
treee2663f36c2da571f22496b2b7483ec56e2e5be87 /misc/yosysjs
parent85aaf08e53763a665d358d2c81d80a1de02e793f (diff)
Fixed YosysJS.create_worker() usage of this.url_prefix
Diffstat (limited to 'misc/yosysjs')
-rw-r--r--misc/yosysjs/yosysjs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/yosysjs/yosysjs.js b/misc/yosysjs/yosysjs.js
index eabc0ec5..ea98c9b5 100644
--- a/misc/yosysjs/yosysjs.js
+++ b/misc/yosysjs/yosysjs.js
@@ -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 = "";