Commit 6f25bfef authored by JC Brand's avatar JC Brand

Cleanup

parent 26cc218c
...@@ -782,24 +782,13 @@ ...@@ -782,24 +782,13 @@
}); });
xmppchat.SettingsPanel = Backbone.View.extend({ xmppchat.SettingsPanel = Backbone.View.extend({
// XXX: Options for the (still to be done) 'settings' tab:
// * Show offline users
// * Auto-open chatbox when a message was received.
el: '#settings' el: '#settings'
}); });
/*
xmppchat.ControlBox = xmppchat.ChatBox.extend({
initialize: function () {
this.set({
'box_id' : 'controlbox'
});
}
});
*/
xmppchat.ControlBoxView = xmppchat.ChatBoxView.extend({ 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.
tagName: 'div', tagName: 'div',
className: 'chatbox', className: 'chatbox',
id: 'controlbox', id: 'controlbox',
...@@ -2019,11 +2008,6 @@ ...@@ -2019,11 +2008,6 @@
password = $form.find('input#password').val(), password = $form.find('input#password').val(),
connection = new Strophe.Connection(bosh_service_url); 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) { connection.connect(jid, password, function (status) {
if (status === Strophe.Status.CONNECTED) { if (status === Strophe.Status.CONNECTED) {
console.log('Connected'); console.log('Connected');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment