mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Add CreateApiContext and more caller info
This commit is contained in:
parent
f3de0c35ef
commit
2a25193941
2 changed files with 59 additions and 7 deletions
|
|
@ -49,7 +49,7 @@ function App:init()
|
|||
self.host, self.setHost = Roact.createBinding(priorHost or "")
|
||||
self.port, self.setPort = Roact.createBinding(priorPort or "")
|
||||
|
||||
self.headlessAPI, self.readOnlyHeadlessAPI = HeadlessAPI.new(self, Config, Settings)
|
||||
self.headlessAPI, self.readOnlyHeadlessAPI = HeadlessAPI.new(self)
|
||||
|
||||
-- selene: allow(global_usage)
|
||||
_G.Rojo = self.readOnlyHeadlessAPI -- Expose headless to other plugins and command bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue