<commit_before>'use strict';

var Netsh = require('./js/modules/netsh.js');

App.controller('NetshIndexCtrl', function($scope, $interval){
  var stop;

  $scope.overNetwork = {};

  $scope.over = function(network){ $scope.overNetwork = network;};

  $scope.resetOverNetwork = function(){ $scope.overNetwork = {}; };

  $scope.backgroundOnHover = function(ssid){
    if (ssid === $scope.overNetwork.ssid) {
      return {
        'color'           : 'black',
        'background-color': $scope.$$childHead.networkColours[ssid].fillColor
      }
    }
    return {};
  };

  $scope.networks = {};

  $scope.getReadings = function(){
    Netsh.wifiNetworkScan(function(err, networks){
      if (err) return console.log(err);
      $scope.networks = networks;<commit_msg>updated the table text color<commit_after>'use strict';

var Netsh = require('./js/modules/netsh.js');

App.controller('NetshIndexCtrl', function($scope, $interval){
  var stop;

  $scope.overNetwork = {};

  $scope.over = function(network){ $scope.overNetwork = network;};

  $scope.resetOverNetwork = function(){ $scope.overNetwork = {}; };

  $scope.backgroundOnHover = function(ssid){
    if (ssid === $scope.overNetwork.ssid) {
      return {
        'color'           : $scope.$$childHead.networkColours[ssid].strokeColor,
        'background-color': $scope.$$childHead.networkColours[ssid].fillColor
      }
    }
    return {};
  };

  $scope.networks = {};

  $scope.getReadings = function(){
    Netsh.wifiNetworkScan(function(err, networks){
      if (err) return console.log(err);
      $scope.networks = networks;
{'fraction_non_alphanumeric': 0.1669805398618958, 'fraction_numerical': 0.0, 'mean_word_length': 3.4775280898876404, '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': '122211', 'n_tokens_mistral': 511, 'n_tokens_neox': 494, 'n_words': 83}