Skip to content

Commit

Permalink
(docs) fix Terminal dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Nov 30, 2024
1 parent e511b6c commit f898bc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/components/Interpreter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function Interpreter(): JSX.Element {

useScripts(!globalThis.jQuery && [
'https://cdn.jsdelivr.net/npm/jquery',
'https://cdn.jsdelivr.net/combine/gh/jcubic/jquery.terminal@eba98ad9e2/js/jquery.terminal.min.js,npm/js-polyfills/keyboard.js,npm/prismjs/prism.js,npm/jquery.terminal@latest/js/prism.js,npm/prismjs/components/prism-scheme.min.js',
'https://cdn.jsdelivr.net/combine/gh/jcubic/jquery.terminal@8a179e7b2c9/js/jquery.terminal.min.js,npm/js-polyfills/keyboard.js,npm/prismjs/prism.js,npm/jquery.terminal@latest/js/prism.js,npm/prismjs/components/prism-scheme.min.js',
'https://cdn.jsdelivr.net/gh/jcubic/lips@d730e075d8/lib/js/terminal.js',
'https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/lib/js/prism.js'
]);
Expand Down Expand Up @@ -126,11 +126,11 @@ export default function Interpreter(): JSX.Element {
<Head>
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link href="https://cdn.jsdelivr.net/combine/npm/jquery.terminal@latest/css/jquery.terminal.min.css,npm/[email protected]/css/prism-coy.css" rel="stylesheet"/>
<link href="https://cdn.jsdelivr.net/gh/jcubic/jquery.terminal@eba98ad9e2/lib/css/terminal.css"
<link href="https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/lib/css/terminal.css"
rel="stylesheet"/>
{isStatic && <script src="https://cdn.jsdelivr.net/npm/jquery" />}
{isStatic && <script src="https://cdn.jsdelivr.net/combine/gh/jcubic/jquery.terminal@eba98ad9e2/js/jquery.terminal.min.js,npm/js-polyfills/keyboard.js,npm/prismjs/prism.js,npm/jquery.terminal@latest/js/prism.js,npm/prismjs/components/prism-scheme.min.js" />}
{isStatic && <script src="https://cdn.jsdelivr.net/gh/jcubic/lips@d730e075d8/lib/js/terminal.js" />}
{isStatic && <script src="https://cdn.jsdelivr.net/combine/gh/jcubic/jquery.terminal@devel/js/jquery.terminal.min.js,npm/js-polyfills/keyboard.js,npm/prismjs/prism.js,npm/jquery.terminal@latest/js/prism.js,npm/prismjs/components/prism-scheme.min.js" />}
{isStatic && <script src="https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/lib/js/terminal.js" />}
{isStatic && <script src="https://cdn.jsdelivr.net/npm/@jcubic/lib/js/prism.js" />}
{!globalThis.lips && <script src="https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/dist/lips.min.js"
data-bootstrap="https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/dist/std.xcb"/>}
Expand Down

0 comments on commit f898bc6

Please sign in to comment.