From 55acc51ad46f381614daf0dc399b9258ab332206 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 10 Jul 2015 13:20:57 +0200 Subject: [PATCH] Fixed YosysJS.create_worker() usage of this.url_prefix --- misc/yosysjs/yosysjs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- 2.30.2