<commit_before>(function(w, h, o) {

    w[h] = o;

})(window, 'ntkBalance', function initializing() {

    'use strict';

    var DEBUG = true;
    /**
     * @todo rewrite in ES6
     */
    var self = {

        api: {},
        cron: {},
        mdl: {},
        opts: {},
        manifest: chrome.runtime.getManifest(),
        options: {},
        methods: {
            'static': {
                name: 'getStaticInfo',
                params: {
                    force: false
                }
            },
            'dynamic': {
                name: 'getDynamicInfo',
                params: {}
            }
        },
        error: null,
        errors: {
            emptySettings: 'Нет договоров',
            cronError: 'Не удалось запустить обновление по расписанию'
        },

        init: function(api, cron, mdl, opts) {

            this.api  = api.create({
                //url: 'https://api.novotelecom.ru/user/v1/',
                url: ' http://london-app:8490/user/v1/',
                responseType: 'json',
                clientId: 'chromeExtension_' + this.manifest.version
            });

            this.cron = cron.create({
                name: 'ntkBalanceAlarm',
                params: {
                    periodInMinutes: 90
                }
            });

            this.mdl = mdl.create();
            this.opts = opts.create();
<commit_msg>api url<commit_after>(function(w, h, o) {

    w[h] = o;

})(window, 'ntkBalance', function initializing() {

    'use strict';

    var DEBUG = true;
    /**
     * @todo rewrite in ES6
     */
    var self = {

        api: {},
        cron: {},
        mdl: {},
        opts: {},
        manifest: chrome.runtime.getManifest(),
        options: {},
        methods: {
            'static': {
                name: 'getStaticInfo',
                params: {
                    force: false
                }
            },
            'dynamic': {
                name: 'getDynamicInfo',
                params: {}
            }
        },
        error: null,
        errors: {
            emptySettings: 'Нет договоров',
            cronError: 'Не удалось запустить обновление по расписанию'
        },

        init: function(api, cron, mdl, opts) {

            this.api  = api.create({
                url: 'https://api.novotelecom.ru/user/v1/',
                responseType: 'json',
                clientId: 'chromeExtension_' + this.manifest.version
            });

            this.cron = cron.create({
                name: 'ntkBalanceAlarm',
                params: {
                    periodInMinutes: 90
                }
            });

            this.mdl = mdl.create();
            this.opts = opts.create();

{'fraction_non_alphanumeric': 0.13025978777899744, 'fraction_numerical': 0.004756677643615075, 'mean_word_length': 1.1276264591439689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4070836', 'n_tokens_mistral': 817, 'n_tokens_neox': 779, 'n_words': 155}