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.4.555 ">
5
+ < meta name ="generator " content ="quarto-1.5.57 ">
6
6
7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0, user-scalable=yes ">
8
8
99
99
} )
100
100
</ script >
101
101
102
- < script src ="https://polyfill.io /v3/polyfill.min.js?features=es6 "> </ script >
102
+ < script src ="https://cdnjs.cloudflare.com/polyfill /v3/polyfill.min.js?features=es6 "> </ script >
103
103
< script src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js " type ="text/javascript "> </ script >
104
104
105
105
< script type ="text/javascript ">
160
160
</ a >
161
161
</ div >
162
162
< div id ="quarto-search " class ="" title ="Search "> </ div >
163
- < 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(); } ">
163
+ < 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(); } ">
164
164
< span class ="navbar-toggler-icon "> </ span >
165
165
</ button >
166
166
< div class ="collapse navbar-collapse " id ="navbarCollapse ">
197
197
</ li >
198
198
</ ul >
199
199
</ div > <!-- /navcollapse -->
200
- < div class ="quarto-navbar-tools ">
200
+ < div class ="quarto-navbar-tools ">
201
201
</ div >
202
202
</ div > <!-- /container-fluid -->
203
203
</ nav >
@@ -237,10 +237,10 @@ <h3 class="anchored" data-anchor-id="quick-links">Quick Links</h3>
237
237
< h3 class ="anchored " data-anchor-id ="recent-news "> Recent News</ h3 >
238
238
< div id ="listing-news-listing " class ="quarto-listing quarto-listing-container-default ">
239
239
< div class ="list quarto-listing-default ">
240
- < div class ="quarto-post image-right " data-index ="0 " data-categories ="talk,pedagogy,simulation " data-listing-date-sort ="1725318000000 " data-listing-file-modified-sort ="1726239260651 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="2 " data-listing-word-count-sort ="332 ">
240
+ < div class ="quarto-post image-right " data-index ="0 " data-categories ="talk,pedagogy,simulation " data-listing-date-sort ="1725318000000 " data-listing-file-modified-sort ="1736251531792 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="2 " data-listing-word-count-sort ="332 ">
241
241
< div class ="thumbnail ">
242
242
< p > < a href ="./posts/2024-09-03_RSS.html " class ="no-external "> </ a > </ p > < a href ="./posts/2024-09-03_RSS.html " class ="no-external ">
243
- < p > < img src ="./images/RSS2024.jpg " class ="thumbnail-image "> </ p >
243
+ < p > < img loading =" lazy " src ="./images/RSS2024.jpg " class ="thumbnail-image "> </ p >
244
244
</ a > < p > < a href ="./posts/2024-09-03_RSS.html " class ="no-external "> </ a > </ p >
245
245
</ div >
246
246
< div class ="body ">
@@ -265,10 +265,10 @@ <h3 class="no-anchor listing-title">
265
265
</ a >
266
266
</ div >
267
267
</ div >
268
- < div class ="quarto-post image-right " data-index ="1 " data-categories ="workshop,dataviz " data-listing-date-sort ="1717542000000 " data-listing-file-modified-sort ="1726239260651 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="151 ">
268
+ < div class ="quarto-post image-right " data-index ="1 " data-categories ="workshop,dataviz " data-listing-date-sort ="1717542000000 " data-listing-file-modified-sort ="1736251531792 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="151 ">
269
269
< div class ="thumbnail ">
270
270
< p > < a href ="./posts/2024-06-05_sgsss-dataviz.html " class ="no-external "> </ a > </ p > < a href ="./posts/2024-06-05_sgsss-dataviz.html " class ="no-external ">
271
- < p > < img src ="./images/introdataviz.png " class ="thumbnail-image "> </ p >
271
+ < p > < img loading =" lazy " src ="./images/introdataviz.png " class ="thumbnail-image "> </ p >
272
272
</ a > < p > < a href ="./posts/2024-06-05_sgsss-dataviz.html " class ="no-external "> </ a > </ p >
273
273
</ div >
274
274
< div class ="body ">
@@ -293,10 +293,10 @@ <h3 class="no-anchor listing-title">
293
293
</ a >
294
294
</ div >
295
295
</ div >
296
- < div class ="quarto-post image-right " data-index ="2 " data-categories ="textbook,pedagogy " data-listing-date-sort ="1717196400000 " data-listing-file-modified-sort ="1726239260651 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="44 ">
296
+ < div class ="quarto-post image-right " data-index ="2 " data-categories ="textbook,pedagogy " data-listing-date-sort ="1717196400000 " data-listing-file-modified-sort ="1736251531792 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="44 ">
297
297
< div class ="thumbnail ">
298
298
< p > < a href ="./posts/2024-06-01_AITutoR.html " class ="no-external "> </ a > </ p > < a href ="./posts/2024-06-01_AITutoR.html " class ="no-external ">
299
- < p > < img src ="./images/aitutor.png " class ="thumbnail-image "> </ p >
299
+ < p > < img loading =" lazy " src ="./images/aitutor.png " class ="thumbnail-image "> </ p >
300
300
</ a > < p > < a href ="./posts/2024-06-01_AITutoR.html " class ="no-external "> </ a > </ p >
301
301
</ div >
302
302
< div class ="body ">
@@ -321,10 +321,10 @@ <h3 class="no-anchor listing-title">
321
321
</ a >
322
322
</ div >
323
323
</ div >
324
- < div class ="quarto-post image-right " data-index ="3 " data-categories ="rstats,talk,dataviz,data skills " data-listing-date-sort ="1716850800000 " data-listing-file-modified-sort ="1726239260651 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="72 ">
324
+ < div class ="quarto-post image-right " data-index ="3 " data-categories ="rstats,talk,dataviz,data skills " data-listing-date-sort ="1716850800000 " data-listing-file-modified-sort ="1736251531792 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="72 ">
325
325
< div class ="thumbnail ">
326
326
< p > < a href ="./posts/2024-05-23_aps-dataviz.html " class ="no-external "> </ a > </ p > < a href ="./posts/2024-05-23_aps-dataviz.html " class ="no-external ">
327
- < p > < img src ="./images/introdataviz.png " class ="thumbnail-image "> </ p >
327
+ < p > < img loading =" lazy " src ="./images/introdataviz.png " class ="thumbnail-image "> </ p >
328
328
</ a > < p > < a href ="./posts/2024-05-23_aps-dataviz.html " class ="no-external "> </ a > </ p >
329
329
</ div >
330
330
< div class ="body ">
@@ -349,10 +349,10 @@ <h3 class="no-anchor listing-title">
349
349
</ a >
350
350
</ div >
351
351
</ div >
352
- < div class ="quarto-post image-right " data-index ="4 " data-categories ="workshop,simulation " data-listing-date-sort ="1706745600000 " data-listing-file-modified-sort ="1726239260650 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="148 ">
352
+ < div class ="quarto-post image-right " data-index ="4 " data-categories ="workshop,simulation " data-listing-date-sort ="1706745600000 " data-listing-file-modified-sort ="1736251531792 " data-listing-date-modified-sort ="NaN " data-listing-reading-time-sort ="1 " data-listing-word-count-sort ="148 ">
353
353
< div class ="thumbnail ">
354
354
< p > < a href ="./posts/2024-02-01_bern-datasim.html " class ="no-external "> </ a > </ p > < a href ="./posts/2024-02-01_bern-datasim.html " class ="no-external ">
355
- < p > < img src ="./images/datasim.png " class ="thumbnail-image "> </ p >
355
+ < p > < img loading =" lazy " src ="./images/datasim.png " class ="thumbnail-image "> </ p >
356
356
</ a > < p > < a href ="./posts/2024-02-01_bern-datasim.html " class ="no-external "> </ a > </ p >
357
357
</ div >
358
358
< div class ="body ">
@@ -424,18 +424,7 @@ <h3 class="no-anchor listing-title">
424
424
}
425
425
return false ;
426
426
}
427
- const clipboard = new window . ClipboardJS ( '.code-copy-button' , {
428
- text : function ( trigger ) {
429
- const codeEl = trigger . previousElementSibling . cloneNode ( true ) ;
430
- for ( const childEl of codeEl . children ) {
431
- if ( isCodeAnnotation ( childEl ) ) {
432
- childEl . remove ( ) ;
433
- }
434
- }
435
- return codeEl . innerText ;
436
- }
437
- } ) ;
438
- clipboard . on ( 'success' , function ( e ) {
427
+ const onCopySuccess = function ( e ) {
439
428
// button target
440
429
const button = e . trigger ;
441
430
// don't keep focus
@@ -467,15 +456,37 @@ <h3 class="no-anchor listing-title">
467
456
} , 1000 ) ;
468
457
// clear code selection
469
458
e . clearSelection ( ) ;
459
+ }
460
+ const getTextToCopy = function ( trigger ) {
461
+ const codeEl = trigger . previousElementSibling . cloneNode ( true ) ;
462
+ for ( const childEl of codeEl . children ) {
463
+ if ( isCodeAnnotation ( childEl ) ) {
464
+ childEl . remove ( ) ;
465
+ }
466
+ }
467
+ return codeEl . innerText ;
468
+ }
469
+ const clipboard = new window . ClipboardJS ( '.code-copy-button:not([data-in-quarto-modal])' , {
470
+ text : getTextToCopy
470
471
} ) ;
472
+ clipboard . on ( 'success' , onCopySuccess ) ;
473
+ if ( window . document . getElementById ( 'quarto-embedded-source-code-modal' ) ) {
474
+ // For code content inside modals, clipBoardJS needs to be initialized with a container option
475
+ // TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
476
+ const clipboardModal = new window . ClipboardJS ( '.code-copy-button[data-in-quarto-modal]' , {
477
+ text : getTextToCopy ,
478
+ container : window . document . getElementById ( 'quarto-embedded-source-code-modal' )
479
+ } ) ;
480
+ clipboardModal . on ( 'success' , onCopySuccess ) ;
481
+ }
471
482
var localhostRegex = new RegExp ( / ^ (?: h t t p | h t t p s ) : \/ \/ l o c a l h o s t \: ? [ 0 - 9 ] * \/ / ) ;
472
483
var mailtoRegex = new RegExp ( / ^ m a i l t o : / ) ;
473
484
var filterRegex = new RegExp ( "https:\/\/psyteachr\.github\.io" ) ;
474
485
var isInternal = ( href ) => {
475
486
return filterRegex . test ( href ) || localhostRegex . test ( href ) || mailtoRegex . test ( href ) ;
476
487
}
477
488
// Inspect non-navigation links and adorn them if external
478
- 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)' ) ;
489
+ 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) ' ) ;
479
490
for ( var i = 0 ; i < links . length ; i ++ ) {
480
491
const link = links [ i ] ;
481
492
if ( ! isInternal ( link . href ) ) {
0 commit comments