owncast/webroot/js/main.js
2020-06-01 17:51:33 -07:00

12 lines
193 B
JavaScript

define(
"main",
[
"MessageList"
],
function(MessageList) {
var ws = new WebSocket("ws://" + location.host + "/entry");
var list = new MessageList(ws);
ko.applyBindings(list);
}
);