Site Notice
hello, world
Difference between revisions of "MediaWiki:Gadget-WikiForum/core.js"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) Tag: Replaced |
m ([InPageEdit] 没有编辑摘要) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | mw.loader.load('https://proj.wjghj.cn/Gadget-WikiForum/dist/WikiForum.core.min.js') | + | $.ajax({ |
+ | url: 'http://127.0.0.1:5500/dev/WikiForum.core.js', | ||
+ | dataType: 'script', | ||
+ | cache: false | ||
+ | }).catch(function(){ | ||
+ | mw.loader.load('https://proj.wjghj.cn/Gadget-WikiForum/dist/WikiForum.core.min.js') | ||
+ | }) |
Latest revision as of 22:22, 11 January 2021
$.ajax({
url: 'http://127.0.0.1:5500/dev/WikiForum.core.js',
dataType: 'script',
cache: false
}).catch(function(){
mw.loader.load('https://proj.wjghj.cn/Gadget-WikiForum/dist/WikiForum.core.min.js')
})