Mudanças entre as edições de "MediaWiki:Common.js"
Ir para navegação
Ir para pesquisar
| Linha 13: | Linha 13: | ||
$.getScript( "https://pokerag.com.br/sapphire/js/db_item.js", function() { | $.getScript( "https://pokerag.com.br/sapphire/js/db_item.js", function() { | ||
$.getScript( "https://pokerag.com.br/sapphire/js/db_skill.js", function() { | $.getScript( "https://pokerag.com.br/sapphire/js/db_skill.js", function() { | ||
| − | $.getScript( "https://pokerag.com.br/sapphire/js/db_pokemon.js", function() { | + | $.getScript( "https://pokerag.com.br/sapphire/js/db_skill_pc.js", function() { |
| − | + | $.getScript( "https://pokerag.com.br/sapphire/js/db_pokemon.js", function() { | |
| − | + | $.getScript( "https://pokerag.com.br/sapphire/js/iteminfo.js", function() { | |
| − | + | $.getScript( "https://pokerag.com.br/sapphire/js/skillinfo.js", function() { | |
| − | + | $.getScript( "https://pokerag.com.br/sapphire/js/pokedex.js", function() { | |
| − | + | if( typeof pokedex !== 'undefined' ) { | |
| − | + | pokedex.process_text('name'); | |
| − | } | + | pokedex.process_icon(); |
| + | } | ||
| + | }); | ||
}); | }); | ||
}); | }); | ||
Edição das 14h40min de 4 de março de 2020
/* Códigos JavaScript aqui colocados serão carregados por todos aqueles que acessarem alguma página deste wiki */
$.ajaxSetup({
cache: true
});
if( typeof pokedex !== 'undefined' ) {
pokedex.process_text('name');
pokedex.process_icon();
}
else {
$.getScript( "https://pokerag.com.br/sapphire/js/const.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/db_map.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/db_item.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/db_skill.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/db_skill_pc.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/db_pokemon.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/iteminfo.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/skillinfo.js", function() {
$.getScript( "https://pokerag.com.br/sapphire/js/pokedex.js", function() {
if( typeof pokedex !== 'undefined' ) {
pokedex.process_text('name');
pokedex.process_icon();
}
});
});
});
});
});
});
});
});
});
}
$.getScript( "https://www.googletagmanager.com/gtag/js?id=UA-30251045-5", function( data, textStatus, jqxhr )
{
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-30251045-5');
});