From d3cfd925dc6ffa1cfa9e410e7d725f765265a7f2 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 2 Apr 2012 03:23:26 -0400 Subject: still not sending the stanza --- alias-angular/app/js/services.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'alias-angular/app/js/services.js') diff --git a/alias-angular/app/js/services.js b/alias-angular/app/js/services.js index 02d8a8b..26113cb 100644 --- a/alias-angular/app/js/services.js +++ b/alias-angular/app/js/services.js @@ -5,15 +5,15 @@ $provide.factory('connection', ['$log', function($log) { function connect_callback(status){ if ( status == Strophe.Status.CONNECTING ) { - $log('Strophe is connecting.'); + $log.log('Strophe is connecting.'); } else if ( status == Strophe.Status.CONNFAIL ) { - $log('Strophe failed to connect.'); + $log.log('Strophe failed to connect.'); } else if ( status == Strophe.Status.DISCONNECTING ) { - $log('Strophe is disconnecting.'); + $log.log('Strophe is disconnecting.'); } else if ( status == Strophe.Status.DISCONNECTED ) { - $dev.log('Strophe is disconnected.'); + $log.log('Strophe is disconnected.'); } else if ( status == Strophe.Status.CONNECTED ) { - $log('Strophe is connected.'); + $log.log('Strophe is connected.'); } }; var connection = new Strophe.Connection(BOSH_SERVICE); -- cgit v1.2.3-70-g09d2