Plus besoin de jquery
This commit is contained in:
parent
5786b051b4
commit
21b84c9e9e
3 changed files with 1 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
|||
<link rel="stylesheet" href="{{"css/theme.min.css" | absURL}}">
|
||||
<link rel="shortcut icon" href="{{ "favicon.png" | absURL }}">
|
||||
{{ partial "meta/chroma.html" . -}}
|
||||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js" integrity="sha256-4XodgW4TwIJuDtf+v6vDJ39FVxI0veC/kSCCmnFp7ck=" crossorigin="anonymous"></script>
|
||||
<script src="{{ "js/bundle.js" | absURL }}"></script>
|
||||
{{- partial "meta/tag-manager.html" . -}}
|
||||
{{- partial "custom-css.html" . -}}
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
require( './sidebar-menu.js' );
|
||||
require( './code.js' );
|
||||
|
|
|
@ -1 +1 @@
|
|||
!function(){var e={219:function(){!function(){function e(e){e.currentTarget.setAttribute("class","copy-btn copy"),e.currentTarget.setAttribute("aria-label","Copy this code.")}window.onload=function(){new ClipboardJS(".copy",{target:function(e){return e.nextElementSibling}}).on("success",(function(e){!function(e){e.setAttribute("class","copy-btn copy tooltipped"),e.setAttribute("aria-label","Copied!")}(e.trigger),e.clearSelection()})).on("error",(function(e){console.error("Action:",e.action),console.error("Trigger:",e.trigger)}))},document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".copy").forEach((function(t){t.addEventListener("animationend",e)}))}))}()},738:function(){document.addEventListener("DOMContentLoaded",(function(){document.querySelector(".slide-menu").addEventListener("click",(function(e){var t=e.target;if(t.classList.contains("mark")){e.preventDefault();var n=t.parentNode.parentNode.querySelector(".sub-menu"),o="";"-"===t.innerHTML&&(o="+",n.style.display="none"),"+"===t.innerHTML&&(o="-",n.style.display="unset"),t.innerHTML=o}}))}))}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n(738),n(219)}();
|
||||
!function(){var e={738:function(){document.addEventListener("DOMContentLoaded",(function(){document.querySelector(".slide-menu").addEventListener("click",(function(e){var n=e.target;if(n.classList.contains("mark")){e.preventDefault();var t=n.parentNode.parentNode.querySelector(".sub-menu"),r="";"-"===n.innerHTML&&(r="+",t.style.display="none"),"+"===n.innerHTML&&(r="-",t.style.display="unset"),n.innerHTML=r}}))}))}},n={};!function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return e[r](i,i.exports,t),i.exports}(738)}();
|
Loading…
Add table
Add a link
Reference in a new issue