<commit_before>"use strict";

var self = require("sdk/self");
var tabs = require("sdk/tabs");
var ffStorage = require("sdk/simple-storage");
var timers = require("sdk/timers");
var panelSdk = require("sdk/panel");
var options = require("sdk/simple-prefs");
var notifications = require("sdk/notifications");
var _ = require("sdk/l10n").get;
var pageWorker = require("page-worker");
var chrome = require("chrome");
var Cc = chrome.Cc;
var Ci = chrome.Ci;
var prefs = require("sdk/preferences/service");
var feedlyApi = require("./feedly.api");
var widgetSdk = require("toolbarwidget");
var userstyles = require("./userstyles");

var appGlobal = {
    feedlyApiClient: feedlyApi.getClient(),
    feedlyTab: null,
    icons: {
        default: "images/icon20.png",
        inactive: "images/icon20_inactive.png"
    },
    options: {
        _updateInterval: 10,
        _maxNumberOfFeeds: 20,
        _popupFontSize: 100,

        markReadOnClick: true,
        showDesktopNotifications: true,
        showFullFeedContent: false,
        openSiteOnIconClick: false,
        showCounter: true,
        playSound: false,
        oldestFeedsFirst: false,
        abilitySaveFeeds: false,
        useSecureConnection: true,
        resetCounterOnClick: false,
        closePopup: false,
        showCategories: false,

        get maxNumberOfFeeds() {
            var minimumFeeds = 1;
            return this._maxNumberOfFeeds >= 1 ? this._maxNumberOfFeeds : minimumFeeds;
        },
        set maxNumberOfFeeds(value) {
            this._maxNumberOfFeeds = value;
        },

        get updateInterval() {
            var minimumInterval = 10;
            return this._updateInterval >= 1 ? this._updateInterval : minimumInterval;
        },
        set updateInterval(value) {
            return this._updateInterval = value;
        },
        get popupFontSize() {
            var maxValue = 150;
            var minValue = 70;
            if (this._popupFontSize > maxValue ) {
                return maxValue;
            }
            if (this._popupFontSize < minValue){
                return minValue;
            }
            return this._popupFontSize;
        },
        set popupFontSize(value) {<commit_msg>Small bug was fixed<commit_after>"use strict";

var self = require("sdk/self");
var tabs = require("sdk/tabs");
var ffStorage = require("sdk/simple-storage");
var timers = require("sdk/timers");
var panelSdk = require("sdk/panel");
var options = require("sdk/simple-prefs");
var notifications = require("sdk/notifications");
var _ = require("sdk/l10n").get;
var pageWorker = require("page-worker");
var chrome = require("chrome");
var Cc = chrome.Cc;
var Ci = chrome.Ci;
var prefs = require("sdk/preferences/service");
var feedlyApi = require("./feedly.api");
var widgetSdk = require("toolbarwidget");
var userstyles = require("./userstyles");

var appGlobal = {
    feedlyApiClient: feedlyApi.getClient(),
    feedlyTab: null,
    icons: {
        default: "images/icon20.png",
        inactive: "images/icon20_inactive.png"
    },
    options: {
        _updateInterval: 10,
        _maxNumberOfFeeds: 20,
        _popupFontSize: 100,

        markReadOnClick: true,
        showDesktopNotifications: true,
        showFullFeedContent: false,
        openSiteOnIconClick: false,
        showCounter: true,
        playSound: false,
        oldestFeedsFirst: false,
        abilitySaveFeeds: false,
        useSecureConnection: true,
        resetCounterOnClick: false,
        closePopup: false,
        showCategories: false,

        get maxNumberOfFeeds() {
            var minimumFeeds = 1;
            return this._maxNumberOfFeeds >= 1 ? this._maxNumberOfFeeds : minimumFeeds;
        },
        set maxNumberOfFeeds(value) {
            this._maxNumberOfFeeds = value;
        },

        get updateInterval() {
            var minimumInterval = 10;
            return this._updateInterval >= minimumInterval ? this._updateInterval : minimumInterval;
        },
        set updateInterval(value) {
            return this._updateInterval = value;
        },
        get popupFontSize() {
            var maxValue = 150;
            var minValue = 70;
            if (this._popupFontSize > maxValue ) {
                return maxValue;
            }
            if (this._popupFontSize < minValue){
                return minValue;
            }
            return this._popupFontSize;
        },
        set popupFontSize(value) {
{'fraction_non_alphanumeric': 0.10901749663526245, 'fraction_numerical': 0.010094212651413189, 'mean_word_length': 2.3475975975975976, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5238187', 'n_tokens_mistral': 1308, 'n_tokens_neox': 1240, 'n_words': 287}