<commit_before>﻿
// CACHE of frequently accessed widgets

var gauge_DdrFreq;           // #ddrContainer
var label_DdrFreq;           // #ddrValue
var gauge_Temperature;       // #gauge
var label_Temperature;       // #tempValue
var buttonList_UpdateSpeed;  // .UpdateSpeedButton
var label_DdrRange;          // #ddrLimits
var label_Error;             // #error

function updateGauges(values) {
    $('#cpuContainer').jqxGauge('value', values.CpuCur);
    $('#ddrContainer').jqxGauge('value', values.DdrCur);
    $('#gauge').jqxLinearGauge('value', values.Tempr);
}


$(document).ready(function () {

    $("#BrowserInfo").text(BrowserDetect.browser + ' v:' + BrowserDetect.version);

    $("#labelNewVersion").text("n/a");
    $("#feedback_close").on('click', function (event) {
        $('#feedback_popup').popup("hide");
    });

    $(".Restricted").hide();
    BindEmptyMemoryUsage();

    $("#newVersionInfo, #oldVersionInfo").on('click', function (event) {
        LaunchWatsNewLoader();
        $('#whatsnew_popup').popup({
            transition: 'all 0.3s',
            pagecontainer: ".container"
        });
        $('#whatsnew_popup').popup("show");
        // alert('#newVersionInfo');
    });



    cpuMenu_OnReady();
    cpuFreq_OnReady();
    cpuUsage_OnReady();
    refreshRate_OnReady();
<commit_msg>order of dashboard initialization rearranged<commit_after>﻿
// CACHE of frequently accessed widgets

var gauge_DdrFreq;           // #ddrContainer
var label_DdrFreq;           // #ddrValue
var gauge_Temperature;       // #gauge
var label_Temperature;       // #tempValue
var buttonList_UpdateSpeed;  // .UpdateSpeedButton
var label_DdrRange;          // #ddrLimits
var label_Error;             // #error

function updateGauges(values) {
    $('#cpuContainer').jqxGauge('value', values.CpuCur);
    $('#ddrContainer').jqxGauge('value', values.DdrCur);
    $('#gauge').jqxLinearGauge('value', values.Tempr);
}


$(document).ready(function () {

    // First, initializing non-jqwidgets
    $("#BrowserInfo").text(BrowserDetect.browser + ' v:' + BrowserDetect.version);

    $("#labelNewVersion").text("n/a");
    $("#feedback_close").on('click', function (event) {
        $('#feedback_popup').popup("hide");
    });

    $(".Restricted").hide();
    BindEmptyMemoryUsage();

    $("#newVersionInfo, #oldVersionInfo").on('click', function (event) {
        LaunchWatsNewLoader();
        $('#whatsnew_popup').popup({
            transition: 'all 0.3s',
            pagecontainer: ".container"
        });
        $('#whatsnew_popup').popup("show");
        // alert('#newVersionInfo');
    });

    cpuUsage_OnReady();



    // Finally, initialize jq-widgets
    cpuMenu_OnReady();
    cpuFreq_OnReady();
    refreshRate_OnReady();

{'fraction_non_alphanumeric': 0.1737549981824791, 'fraction_numerical': 0.0014540167211922936, 'mean_word_length': 3.1074626865671644, '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': '3084109', 'n_tokens_mistral': 865, 'n_tokens_neox': 832, 'n_words': 136}