mirror of
https://github.com/maputnik/editor.git
synced 2025-12-06 06:10:00 +00:00
Fix this being undefined
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user