aboutsummaryrefslogtreecommitdiffstats
path: root/alias-angular/app/js/services.js
diff options
context:
space:
mode:
Diffstat (limited to 'alias-angular/app/js/services.js')
-rw-r--r--alias-angular/app/js/services.js10
1 files changed, 5 insertions, 5 deletions
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);