swapped section titles in the api documentation

pull/95/head
jmoenig 2020-07-07 10:08:46 +02:00
rodzic f76f98a492
commit c16f25b956
1 zmienionych plików z 2 dodań i 2 usunięć

4
API.md
Wyświetl plik

@ -28,7 +28,7 @@ Currently the API consists of the following methods:
* IDE_Morph.prototype.newList()
## Interacting with the IDE
## Referencing the IDE
Getting hold of an ide can usually be achieved by
evaluating:
@ -58,7 +58,7 @@ In such a set up the ide can be accessed through the ```contentWindow``` propert
var ide = document.getElementsByTagName("iframe")[0].contentWindow.world.children[0];
## Referencing the IDE
## Interacting with the IDE
### IDE_Morph.prototype.broadcast()
The broadcast() method triggers all scripts whose hat block listens to the specified message. An optional callback can be added to be run after all triggered scripts have terminated.