Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: function test(){ console.log(1); } test();") |
|||
Line 1: | Line 1: | ||
− | + | "use strict"; | |
− | + | $(document).ready(function () { | |
− | function test(){ | + | function test() { |
− | + | console.log('test js'); | |
− | } | + | } |
− | test(); | + | test(); |
+ | }); |
Revision as of 23:11, 11 May 2021
"use strict"; $(document).ready(function () { function test() { console.log('test js'); } test(); });