Welcome to Wargaming.net Wiki!

Difference between revisions of "User:Benser33:eu/common.js"

Jump to: navigation, search
Revision as of 14:06, 23 April 2024Revision as of 15:17, 23 April 2024
Line 1:Line 1:
 /* Any JavaScript here will be loaded for all users on every page load. */ /* Any JavaScript here will be loaded for all users on every page load. */
 +
 +mw.loader.load( 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js' ).then( function() {
 + // jQuery has been loaded, you can now add additional scripts that depend on jQuery
 + mw.loader.load( 'https://cdn-cm.wgcdn.co/loader.min.js' );
 +} );

Revision as of 15:17, 23 April 2024

/* Any JavaScript here will be loaded for all users on every page load. */

mw.loader.load( 'https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js' ).then( function() {
    // jQuery has been loaded, you can now add additional scripts that depend on jQuery
    mw.loader.load( 'https://cdn-cm.wgcdn.co/loader.min.js' );
} );