From 7f4206e9b22c14adcef1445fcdd603b7973db75d Mon Sep 17 00:00:00 2001 From: JC Brand Date: Tue, 5 Mar 2013 22:59:30 +0200 Subject: [PATCH] Update changes --- CHANGES.rst | 7 +++---- main.js | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 2583ca68a..3300e4871 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,8 +3,7 @@ Changelog 0.1 - Unreleased ---------------- -- Further performance enhancements and general script cleanup, see pull request - 6 for details [ichim-david] -- Concieved and created [jcbrand] -- Performance enhancements for rosters [ichim-david] +- Add vCard support [jcbrand] +- Performance enhancements and general script cleanup [ichim-david] - Add "Connecting to chat..." info [alecghica] +- Concieved and created [jcbrand] diff --git a/main.js b/main.js index 43a9c7319..53e7fc117 100644 --- a/main.js +++ b/main.js @@ -8,16 +8,15 @@ require(["jquery", "converse"], function($) { buttons: { "Connect": function () { $(document).trigger('connect', { - jid: $('#jid').val(), - password: $('#password').val(), - bosh_service_url: $('#bosh_service_url').val() + jid: 'opkode@jappix.com', + password: 'jpwagw00rd!', + bosh_service_url: 'https://bind.jappix.com/' }); $('#password').val(''); $(this).dialog('close'); } } }); - $(document).bind('connect', function (ev, data) { var connection = new Strophe.Connection(data.bosh_service_url);