Skip to content

Commit 8b4ebff

Browse files
committed
remove console logs
1 parent 184275b commit 8b4ebff

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

angular-chat.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,23 +103,17 @@ angular.module('chat').service('ChatCore',
103103
// Subscribe to new messages
104104
self.subscribe = function(fn) {
105105

106-
console.log('i am ', self.user().id)
107-
108106
self.roomGlobal = self.rltm.join('global');
109107
self.roomPrivate = self.rltm.join(self.user().id);
110108

111109
self.roomGlobal.on('message', function(uuid, data) {
112110

113-
console.log('public messages', data)
114-
115111
fn(data, false);
116112
$rootScope.$apply();
117113
});
118114

119115
self.roomPrivate.on('message', function(uuid, data) {
120116

121-
console.log('private messages', data)
122-
123117
fn(data, true);
124118
$rootScope.$apply();
125119

0 commit comments

Comments
 (0)