Fixes indenting

This commit is contained in:
David Cormier 2013-08-01 21:54:12 -04:00
parent 5af244737e
commit 40d0145979

View file

@ -207,13 +207,16 @@ weechat.factory('connection', ['$rootScope', 'colors', function($scope, colors)
}
var handleBufferOpened = function(message) {
console.log('buffer opened');
var fullName = message['objects'][0]['content'][0]['full_name']
var buffer = message['objects'][0]['content'][0]['pointers'][0]
$scope.buffers[buffer] = { 'lines':[], 'full_name':fullName }
console.log($scope.buffers);
}
var sendMessage = function(message) {
message = "input " + $scope.activeBuffer['full_name'] + " " + message + "\n"
console.log($scope.activeBuffer);
doSend(message);
}
@ -251,5 +254,5 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', 'connection', functio
$scope.connect = function() {
connection.connect($scope.hostport, $scope.proto, $scope.password);
}
}]
);
}]
);