mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-22 22:28:28 +02:00
Added eslit and circle.yml
This commit is contained in:
@@ -7,7 +7,7 @@ module.exports = function($scope, socket, servers) {
|
||||
$scope.servers = servers.get();
|
||||
|
||||
$scope.select = function(id) {
|
||||
$scope.ip = servers.select(id).ip;
|
||||
$scope.ip = servers.select(id).ip;
|
||||
$scope.port = servers.select(id).port;
|
||||
|
||||
if ($scope.username.length > 0 && $scope.password.length > 0) {
|
||||
@@ -27,8 +27,6 @@ module.exports = function($scope, socket, servers) {
|
||||
password: $scope.password,
|
||||
hostname: $scope.ip,
|
||||
port: $scope.port || 25565
|
||||
}, function(response) {
|
||||
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
@@ -36,4 +36,4 @@ module.exports = function($scope, socket) {
|
||||
});
|
||||
});
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user