Remove Websockets dependencies

This commit is contained in:
Nicolas Le Goff
2015-03-09 20:22:50 +01:00
parent 6b89c123e3
commit bd4836aaa7
42 changed files with 21 additions and 1819 deletions

View File

@@ -11,10 +11,9 @@ define([
"jquery",
"underscore",
"backbone",
"common/websockets/connection",
"apps/admin/main/views/leftPanel",
"apps/admin/main/views/rightPanel"
], function ($, _, Backbone, WSConnection, LeftPanel, RightPanel) {
], function ($, _, Backbone, LeftPanel, RightPanel) {
window.AdminApp = {
$scope: $("#admin-app"),
$leftView : $(".left-view", this.$scope),
@@ -68,10 +67,6 @@ define([
throw "You must define a websocket url";
}
if (false === WSConnection.isConnected()) {
WSConnection.connect(options.wsurl);
}
create();
AdminApp.LeftView.activeTree();