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('http://albina.ff.cuni.cz/index.php?title=User: | + | return $.getScript('http://albina.ff.cuni.cz/index.php?title=User:Admin/veTest.js&action=raw&ctype=text/javascript'); |
} ); | } ); | ||
}); | }); |
Aktuální verze z 17. 8. 2015, 15:26
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:Admin/veTest.js&action=raw&ctype=text/javascript');
} );
});