fix return value of playground commands
This commit is contained in:
@@ -336,11 +336,13 @@
|
|||||||
|
|
||||||
(defCommand CreatePlayground [name (Text null) catsMatchExp (Text null)]
|
(defCommand CreatePlayground [name (Text null) catsMatchExp (Text null)]
|
||||||
(archive.changePlaygrounds ->:Void [:DynamicAccess<Dynamic> p]
|
(archive.changePlaygrounds ->:Void [:DynamicAccess<Dynamic> p]
|
||||||
(dictSet p name (object catsMatch catsMatchExp))))
|
(dictSet p name (object catsMatch catsMatchExp)))
|
||||||
|
[])
|
||||||
|
|
||||||
(defCommand SwitchPlayground [name (Text null)]
|
(defCommand SwitchPlayground [name (Text null)]
|
||||||
(archive.changePlaygrounds ->:Void [:DynamicAccess<Dynamic> p] (dictSet p "default" name))
|
(archive.changePlaygrounds ->:Void [:DynamicAccess<Dynamic> p] (dictSet p "default" name))
|
||||||
(when playgroundSystem (playgroundSystem.switchPlaygroundKey name)))
|
(when playgroundSystem (playgroundSystem.switchPlaygroundKey name))
|
||||||
|
[])
|
||||||
|
|
||||||
(defCommand AddConnections [entries (SelectedEntries 1 null) entriesToConnect (Entries 1 null)]
|
(defCommand AddConnections [entries (SelectedEntries 1 null) entriesToConnect (Entries 1 null)]
|
||||||
(for e entries
|
(for e entries
|
||||||
|
|||||||
Reference in New Issue
Block a user