File "scripts.js"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/resources/exceptions/renderer/scripts.js
File size: 595 bytes
MIME-type: text/x-java
Charset: utf-8
import tippy from 'tippy.js';
import alpine from 'alpinejs';
import hljs from 'highlight.js/lib/core';
import php from 'highlight.js/lib/languages/php';
alpine.start();
hljs.registerLanguage('php', php);
window.hljs = hljs;
hljs.highlightElement(document.querySelector('.default-highlightable-code'));
document.querySelectorAll('.highlightable-code').forEach((block) => {
if (block.dataset.highlighted !== 'yes') {
hljs.highlightElement(block);
}
});
tippy('[data-tippy-content]', {
trigger: 'click',
arrow: true,
theme: 'material',
animation: 'scale',
});