|
2 | 2 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> |
3 | 3 |
|
4 | 4 | <meta charset="utf-8"> |
5 | | -<meta name="generator" content="quarto-1.5.40"> |
| 5 | +<meta name="generator" content="quarto-1.4.554"> |
6 | 6 |
|
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
8 | 8 |
|
9 | 9 |
|
10 | | -<title>STEMcoding – Activities Flowcharts</title> |
| 10 | +<title>STEMcoding - Activities Flowcharts</title> |
11 | 11 | <style> |
12 | 12 | code{white-space: pre-wrap;} |
13 | 13 | span.smallcaps{font-variant: small-caps;} |
|
87 | 87 | </a> |
88 | 88 | </div> |
89 | 89 | <div id="quarto-search" class="" title="Search"></div> |
90 | | - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
| 90 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }"> |
91 | 91 | <span class="navbar-toggler-icon"></span> |
92 | 92 | </button> |
93 | 93 | <div class="collapse navbar-collapse" id="navbarCollapse"> |
|
106 | 106 | </li> |
107 | 107 | </ul> |
108 | 108 | </div> <!-- /navcollapse --> |
109 | | - <div class="quarto-navbar-tools tools-wide"> |
| 109 | + <div class="quarto-navbar-tools tools-wide"> |
110 | 110 | <a href="https://github.com/stemcoding" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-github"></i></a> |
111 | 111 | <a href="https://www.youtube.com/@STEMcoding" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-youtube"></i></a> |
112 | 112 | <a href="https://discord.gg/bsWgqcqwCE" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-discord"></i></a> |
@@ -259,7 +259,18 @@ <h2 class="anchored" data-anchor-id="slingshot-with-gravity">Slingshot with Grav |
259 | 259 | } |
260 | 260 | return false; |
261 | 261 | } |
262 | | - const onCopySuccess = function(e) { |
| 262 | + const clipboard = new window.ClipboardJS('.code-copy-button', { |
| 263 | + text: function(trigger) { |
| 264 | + const codeEl = trigger.previousElementSibling.cloneNode(true); |
| 265 | + for (const childEl of codeEl.children) { |
| 266 | + if (isCodeAnnotation(childEl)) { |
| 267 | + childEl.remove(); |
| 268 | + } |
| 269 | + } |
| 270 | + return codeEl.innerText; |
| 271 | + } |
| 272 | + }); |
| 273 | + clipboard.on('success', function(e) { |
263 | 274 | // button target |
264 | 275 | const button = e.trigger; |
265 | 276 | // don't keep focus |
@@ -291,37 +302,15 @@ <h2 class="anchored" data-anchor-id="slingshot-with-gravity">Slingshot with Grav |
291 | 302 | }, 1000); |
292 | 303 | // clear code selection |
293 | 304 | e.clearSelection(); |
294 | | - } |
295 | | - const getTextToCopy = function(trigger) { |
296 | | - const codeEl = trigger.previousElementSibling.cloneNode(true); |
297 | | - for (const childEl of codeEl.children) { |
298 | | - if (isCodeAnnotation(childEl)) { |
299 | | - childEl.remove(); |
300 | | - } |
301 | | - } |
302 | | - return codeEl.innerText; |
303 | | - } |
304 | | - const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', { |
305 | | - text: getTextToCopy |
306 | 305 | }); |
307 | | - clipboard.on('success', onCopySuccess); |
308 | | - if (window.document.getElementById('quarto-embedded-source-code-modal')) { |
309 | | - // For code content inside modals, clipBoardJS needs to be initialized with a container option |
310 | | - // TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860) |
311 | | - const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', { |
312 | | - text: getTextToCopy, |
313 | | - container: window.document.getElementById('quarto-embedded-source-code-modal') |
314 | | - }); |
315 | | - clipboardModal.on('success', onCopySuccess); |
316 | | - } |
317 | 306 | var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//); |
318 | 307 | var mailtoRegex = new RegExp(/^mailto:/); |
319 | 308 | var filterRegex = new RegExp('/' + window.location.host + '/'); |
320 | 309 | var isInternal = (href) => { |
321 | 310 | return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href); |
322 | 311 | } |
323 | 312 | // Inspect non-navigation links and adorn them if external |
324 | | - var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)'); |
| 313 | + var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)'); |
325 | 314 | for (var i=0; i<links.length; i++) { |
326 | 315 | const link = links[i]; |
327 | 316 | if (!isInternal(link.href)) { |
|
0 commit comments