PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.6.1
Block Animations, Motion & Scroll Effects – Ghost Kit v3.6.1
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / build / gutenberg / blocks / gist / frontend.js

frontend.js in Block Animations, Motion & Scroll Effects – Ghost Kit 3.6.1, at build/gutenberg/blocks/gist/frontend.js

1 lines 657 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{const{GHOSTKIT:{events:t}}=window;t.on(document,"init.blocks.gkt",(()=>{const e=window.gistSimple;void 0!==e&&document.querySelectorAll(".ghostkit-gist:not(.ghostkit-gist-ready)").forEach((i=>{i.classList.add("ghostkit-gist-ready");const o=/^https:\/\/gist.github.com?.+\/(.+)/g.exec(i.getAttribute("data-url"));if(o&&void 0!==o[1]){const s={id:o[1],file:i.getAttribute("data-file"),caption:i.getAttribute("data-caption"),showFooter:"true"===i.getAttribute("data-show-footer"),showLineNumbers:"true"===i.getAttribute("data-show-line-numbers")};t.trigger(i,"prepare.gist.gkt",{options:s}),e(i,s),t.trigger(i,"prepared.gist.gkt",{options:s})}}))}))})();