feat: improve prism loading times ~220kb -> ~20kb

This commit is contained in:
Shannon Sterz 2017-08-04 20:19:22 +02:00
parent 0c4e223396
commit 3aac01539e

View file

@ -12,5 +12,8 @@
</div> </div>
</footer> </footer>
<?php echo js('assets/js/prism.js')?> <?php echo js('assets/js/prism.js')?>
<script type="text/javascript">
Prism.plugins.autoloader.languages_path='assets/js/components/';
</script>
</body> </body>
</html> </html>