Remove unused code

This commit is contained in:
David Cormier 2013-10-08 19:12:56 -04:00
parent 51221d4a44
commit b4298a1b0c
1 changed files with 1 additions and 16 deletions

View File

@ -237,7 +237,6 @@ weechat.factory('connection', ['$rootScope', '$log', 'handlers', 'colors', 'mode
message = protocol.parse(evt.data)
handlers.handleEvent(message);
$rootScope.commands.push("RECV: " + evt.data + " TYPE:" + evt.type) ;
console.log("apply");
$rootScope.$apply();
}
@ -264,21 +263,7 @@ weechat.factory('connection', ['$rootScope', '$log', 'handlers', 'colors', 'mode
}
}]);
weechat.service('testService', function(){
var count = 1;
var list = [];
this.incrementCount = function () {
count++;
list.push(count);
return list;
};
this.getCount = function(){
return list;
}
});
weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', 'models', 'connection', 'testService', function ($rootScope, $scope, $store, models, connection, testService) {
weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', 'models', 'connection', function ($rootScope, $scope, $store, models, connection, testService) {
$scope.buffers = models.model.buffers;
$scope.activeBuffer = models.getActiveBuffer