KameSame Open Framework - Jquery module

Progress module for KameSame Open Framework

Από την 07/10/2022. Δείτε την τελευταία έκδοση.

Αυτός ο κώδικας δεν πρέπει να εγκατασταθεί άμεσα. Είναι μια βιβλιοθήκη για άλλους κώδικες που περιλαμβάνεται μέσω της οδηγίας meta // @require https://update.greatest.deepsurf.us/scripts/451523/1101979/KameSame%20Open%20Framework%20-%20Jquery%20module.js

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

"use strict";
// ==UserScript==
// @name        KameSame Open Framework - Jquery module
// @namespace   timberpile
// @description Progress module for KameSame Open Framework
// @version     0.1
// @copyright   2022+, Robin Findley, Timberpile
// @license     MIT; http://opensource.org/licenses/MIT
// ==/UserScript==
// These lines are necessary to make sure that TSC does not put any exports in the
// compiled js, which causes the script to crash
// eslint-disable-next-line no-var, @typescript-eslint/no-unused-vars
var module = {};
(async (global) => {
    console.log(1);
    const ksof = global.ksof;
    //########################################################################
    //------------------------------
    // Published interface
    //------------------------------
    // eslint-disable-next-line no-var
    var version = '';
    ksof.Jquery = {
        version: version,
    };
    //########################################################################
    ksof.ready('document')
        .then(function () {
        const promises = [];
        try {
            $.fn.jquery;
        }
        catch (e) {
            promises.push(ksof.load_script(ksof.support_files['jquery.js'], true /* cache */));
        }
        return Promise.all(promises);
    })
        .then(function (data) {
        version = $.fn.jquery;
        // Notify listeners that we are ready.
        // Delay guarantees include() callbacks are called before ready() callbacks.
        setTimeout(function () { ksof.set_state('ksof.Jquery', 'ready'); }, 0);
    });
})(window);
module.exports = null;