Fixes indenting
This commit is contained in:
parent
5af244737e
commit
40d0145979
1 changed files with 101 additions and 98 deletions
|
@ -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);
|
||||
}
|
||||
}]
|
||||
);
|
||||
}]
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue