Uživatel:Admin/common.js: Porovnání verzí
Řádek 2: | Řádek 2: | ||
// Register plugins to VE. will be loaded once the user opens the VE | // Register plugins to VE. will be loaded once the user opens the VE | ||
mw.libs.ve.addPlugin( function() { | mw.libs.ve.addPlugin( function() { | ||
− | return $.getScript(' | + | return $.getScript('http://albina.ff.cuni.cz/index.php?title=User:ערן/refToolbarVe.js&action=raw&ctype=text/javascript'); |
} ); | } ); | ||
}); | }); |
Verze z 17. 8. 2015, 15:25
mw.loader.using( 'ext.visualEditor.viewPageTarget.init', function(){
// Register plugins to VE. will be loaded once the user opens the VE
mw.libs.ve.addPlugin( function() {
return $.getScript('http://albina.ff.cuni.cz/index.php?title=User:ערן/refToolbarVe.js&action=raw&ctype=text/javascript');
} );
});