From: Clifford Wolf Date: Fri, 10 Jul 2015 11:20:57 +0000 (+0200) Subject: Fixed YosysJS.create_worker() usage of this.url_prefix X-Git-Tag: yosys-0.6~228 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55acc51ad46f381614daf0dc399b9258ab332206;p=yosys.git Fixed YosysJS.create_worker() usage of this.url_prefix --- diff --git a/misc/yosysjs/yosysjs.js b/misc/yosysjs/yosysjs.js index eabc0ec50..ea98c9b51 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 = "";