
utiel.flip-web.16.1-RELEASE.source-code._.js Maven / Gradle / Ivy
function _(path, key, cbs) {
var ws = new WebSocket("ws://" + document.location.host + path, key);
ws.onmessage = function(e) {
try {
var cb = JSON.parse(e.data);
console.log("Dbg: " + JSON.stringify(cb));
cbs[cb.name].apply(null, cb.args);
} catch (e) {
console.log(e)
}
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy