fix code block

This commit is contained in:
sparks-alec
2022-01-15 10:08:56 -05:00
parent cdb9b64af0
commit 245ae98a4e
+3 -1
View File
@@ -36,6 +36,7 @@ A dashboard for everything in your show.
A Cue View "plugin" is a system for communicating with a type of device, for example QLab or Watchout. It consists of a JS file that describes how to communicate with the device, an HTML template for displaying the device's data, and a CSS file to style the HTML.
### plugin.js
```
exports.defaultName = 'Example Plugin';
exports.connectionType = 'osc' or 'TCPsocket' or 'UDPsocket'
exports.searchOptions = {
@@ -83,4 +84,5 @@ exports.data = function (device, buf){
exports.heartbeat = function (device){
// runs every n milliseconds, defined by exports.heartbeatInterval
devide.send();
}
}
```