<commit_before>'use strict';

/**
 * @ngdoc function
 * @name mgmApp.controller:ManageregionCtrl
 * @description
 * # ManageregionCtrl
 * Controller of the mgmApp
 */
angular.module('mgmApp')
  .controller('ManageregionCtrl', function ($scope, $modalInstance, region, estates, hosts) {

    $scope.region = region;
    $scope.estates = estates;
    $scope.hosts = hosts;

    $scope.close = function() {
      $modalInstance.close(true);
    };

    $scope.setXY = function(x, y){
      console.log('Set x,y to: ' + x + ', ' + y);
    };

    $scope.setEstate = function(estate){
      console.log('Set estate to: ' + estate.Name);
    };

    $scope.setHost = function(host){
      console.log('Set host to: ' + host.Hostname);
    };

  });<commit_msg>remove superfluous true in return value<commit_after>'use strict';

/**
 * @ngdoc function
 * @name mgmApp.controller:ManageregionCtrl
 * @description
 * # ManageregionCtrl
 * Controller of the mgmApp
 */
angular.module('mgmApp')
  .controller('ManageregionCtrl', function ($scope, $modalInstance, region, estates, hosts) {

    $scope.region = region;
    $scope.estates = estates;
    $scope.hosts = hosts;

    $scope.close = function() {
      $modalInstance.close();
    };

    $scope.setXY = function(x, y){
      console.log('Set x,y to: ' + x + ', ' + y);
    };

    $scope.setEstate = function(estate){
      console.log('Set estate to: ' + estate.Name);
    };

    $scope.setHost = function(host){
      console.log('Set host to: ' + host.Hostname);
    };

  });
{'fraction_non_alphanumeric': 0.16470588235294117, 'fraction_numerical': 0.0, 'mean_word_length': 3.1155913978494625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4931280', 'n_tokens_mistral': 522, 'n_tokens_neox': 497, 'n_words': 103}