mitmproxy/web/src/js/app.js

8 lines
289 B
JavaScript
Raw Normal View History

2014-09-17 00:13:37 +00:00
$(function () {
window.app = React.renderComponent(ProxyApp, document.body);
var UpdateConnection = new Connection("/updates");
UpdateConnection.onmessage = function (message) {
var m = JSON.parse(message.data);
AppDispatcher.dispatchServerAction(m);
};
2014-09-15 16:08:26 +00:00
});