diff options
Diffstat (limited to 'web/src/js/app.js')
-rw-r--r-- | web/src/js/app.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/web/src/js/app.js b/web/src/js/app.js deleted file mode 100644 index 9fb868b8..00000000 --- a/web/src/js/app.js +++ /dev/null @@ -1,19 +0,0 @@ -var React = require("react"); -var ReactRouter = require("react-router"); -var $ = require("jquery"); -var Connection = require("./connection"); -var proxyapp = require("./components/proxyapp.js"); -var EventLogActions = require("./actions.js").EventLogActions; - -$(function () { - window.ws = new Connection("/updates"); - - window.onerror = function (msg) { - EventLogActions.add_event(msg); - }; - - ReactRouter.run(proxyapp.routes, function (Handler, state) { - React.render(<Handler/>, document.body); - }); -}); - |