|
11 | 11 |
|
12 | 12 | <meta name="author" content="Brad Duthie" /> |
13 | 13 |
|
14 | | -<meta name="date" content="2023-03-22" /> |
| 14 | +<meta name="date" content="2024-04-23" /> |
15 | 15 |
|
16 | 16 | <title>Introduction to testing R code</title> |
17 | 17 |
|
|
242 | 242 | $(this).detach().appendTo(div); |
243 | 243 |
|
244 | 244 | // add a show code button right above |
245 | | - var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Code') + '</span>'); |
| 245 | + var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Show') + '</span>'); |
246 | 246 | var showCodeButton = $('<button type="button" class="btn btn-default btn-xs btn-secondary btn-sm code-folding-btn pull-right float-right"></button>'); |
247 | 247 | showCodeButton.append(showCodeText); |
248 | 248 | showCodeButton |
|
268 | 268 | // * Change text |
269 | 269 | // * add a class for intermediate states styling |
270 | 270 | div.on('hide.bs.collapse', function () { |
271 | | - showCodeText.text('Code'); |
| 271 | + showCodeText.text('Show'); |
272 | 272 | showCodeButton.addClass('btn-collapsing'); |
273 | 273 | }); |
274 | 274 | div.on('hidden.bs.collapse', function () { |
|
377 | 377 | border-radius: 4px; |
378 | 378 | } |
379 | 379 |
|
380 | | -.tabset-dropdown > .nav-tabs > li.active:before { |
381 | | - content: ""; |
| 380 | +.tabset-dropdown > .nav-tabs > li.active:before, .tabset-dropdown > .nav-tabs.nav-tabs-open:before { |
| 381 | + content: "\e259"; |
382 | 382 | font-family: 'Glyphicons Halflings'; |
383 | 383 | display: inline-block; |
384 | 384 | padding: 10px; |
385 | 385 | border-right: 1px solid #ddd; |
386 | 386 | } |
387 | 387 |
|
388 | 388 | .tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before { |
389 | | - content: ""; |
390 | | - border: none; |
391 | | -} |
392 | | - |
393 | | -.tabset-dropdown > .nav-tabs.nav-tabs-open:before { |
394 | | - content: ""; |
| 389 | + content: "\e258"; |
395 | 390 | font-family: 'Glyphicons Halflings'; |
396 | | - display: inline-block; |
397 | | - padding: 10px; |
398 | | - border-right: 1px solid #ddd; |
| 391 | + border: none; |
399 | 392 | } |
400 | 393 |
|
401 | 394 | .tabset-dropdown > .nav-tabs > li.active { |
|
453 | 446 |
|
454 | 447 | <h1 class="title toc-ignore">Introduction to testing R code</h1> |
455 | 448 | <h4 class="author">Brad Duthie</h4> |
456 | | -<h4 class="date">22 MAR 2023</h4> |
| 449 | +<h4 class="date">23 APR 2024</h4> |
457 | 450 |
|
458 | 451 | </div> |
459 | 452 |
|
|
0 commit comments