<commit_before>import {Events} from 'tabris';
import {mixin} from './helpers';

const store = {};

class Settings {

  get serverUrl() {
    return store.serverUrl;
  }

  set serverUrl(url) {
    store.serverUrl = url;
    localStorage.setItem('serverUrl', url);
    this.trigger('change:serverUrl');
  }

  load() {
    store.serverUrl = localStorage.getItem('serverUrl') || 'http://192.168.1.';
  }

}

mixin(Settings, Events);

export default new Settings();<commit_msg>Use complete IP address as default<commit_after>import {Events} from 'tabris';
import {mixin} from './helpers';

const store = {};

class Settings {

  get serverUrl() {
    return store.serverUrl;
  }

  set serverUrl(url) {
    store.serverUrl = url;
    localStorage.setItem('serverUrl', url);
    this.trigger('change:serverUrl');
  }

  load() {
    store.serverUrl = localStorage.getItem('serverUrl') || 'http://192.168.1.1';
  }

}

mixin(Settings, Events);

export default new Settings();
{'fraction_non_alphanumeric': 0.15876288659793814, 'fraction_numerical': 0.015463917525773196, 'mean_word_length': 3.8069306930693068, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '197884', 'n_tokens_mistral': 329, 'n_tokens_neox': 318, 'n_words': 70}