From 6f25bfefb83af922da679986e3cd25d8e98e6762 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 22 Mar 2013 08:47:43 +0200 Subject: [PATCH] Cleanup --- converse.js | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/converse.js b/converse.js index e31bd48a4..952ef85cb 100644 --- a/converse.js +++ b/converse.js @@ -782,24 +782,13 @@ }); xmppchat.SettingsPanel = Backbone.View.extend({ - el: '#settings' - }); - - - /* - xmppchat.ControlBox = xmppchat.ChatBox.extend({ - initialize: function () { - this.set({ - 'box_id' : 'controlbox' - }); - } - }); - */ - - xmppchat.ControlBoxView = xmppchat.ChatBoxView.extend({ // XXX: Options for the (still to be done) 'settings' tab: // * Show offline users // * Auto-open chatbox when a message was received. + el: '#settings' + }); + + xmppchat.ControlBoxView = xmppchat.ChatBoxView.extend({ tagName: 'div', className: 'chatbox', id: 'controlbox', @@ -2019,11 +2008,6 @@ password = $form.find('input#password').val(), connection = new Strophe.Connection(bosh_service_url); - jid = 'opkode@jappix.com' - password = 'jpwagw00rd!' - bosh_service_url = 'https://bind.jappix.com' - connection = new Strophe.Connection(bosh_service_url); - connection.connect(jid, password, function (status) { if (status === Strophe.Status.CONNECTED) { console.log('Connected');