From efd0b547e934190df80e7e9c1b6d0c5b696299fb Mon Sep 17 00:00:00 2001 From: Jesse Crocker Date: Tue, 16 Apr 2019 09:19:36 -0600 Subject: [PATCH] Fix this being undefined --- src/libs/apistore.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/apistore.js b/src/libs/apistore.js index 124878e..d12f895 100644 --- a/src/libs/apistore.js +++ b/src/libs/apistore.js @@ -9,6 +9,7 @@ export class ApiStyleStore { const host = opts.host || 'localhost' this.localUrl = `http://${host}:${port}` this.websocketUrl = `ws://${host}:${port}/ws` + this.init = this.init.bind(this) } init(cb) {