mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
18 lines
367 B
JavaScript
18 lines
367 B
JavaScript
|
require.config({
|
||
|
paths: {
|
||
|
'prismjs': 'assets/plugins/prismjs/js/prism.pack',
|
||
|
},
|
||
|
shim: {
|
||
|
prism: {
|
||
|
exports: "Prism"
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
require(['prismjs', 'jquery'], function(prismjs, $){
|
||
|
$(document).ready(function(){
|
||
|
// $('[class^="language-"]').each(function(i, block) {
|
||
|
// Prism.highlightElement(block);
|
||
|
// });
|
||
|
});
|
||
|
});
|