Browse Source

JS

master
David Larlet 1 month ago
parent
commit
fdd080bce4
Signed by: David Larlet <david@larlet.fr> GPG Key ID: 3E2953A359E7E7BD
74 changed files with 439 additions and 585 deletions
  1. 6
    8
      david/2024/01/01/index.html
  2. 6
    8
      david/2024/01/02/index.html
  3. 6
    8
      david/2024/01/03/index.html
  4. 6
    8
      david/2024/01/04/index.html
  5. 6
    8
      david/2024/01/05/index.html
  6. 6
    8
      david/2024/01/06/index.html
  7. 6
    8
      david/2024/01/07/index.html
  8. 6
    8
      david/2024/01/08/index.html
  9. 6
    8
      david/2024/01/09/index.html
  10. 6
    8
      david/2024/01/10/index.html
  11. 6
    8
      david/2024/01/11/index.html
  12. 6
    8
      david/2024/01/12/index.html
  13. 6
    8
      david/2024/01/13/index.html
  14. 6
    8
      david/2024/01/14/index.html
  15. 6
    8
      david/2024/01/15/index.html
  16. 6
    8
      david/2024/01/16/index.html
  17. 6
    8
      david/2024/01/17/index.html
  18. 6
    8
      david/2024/01/18/index.html
  19. 6
    8
      david/2024/01/19/index.html
  20. 6
    8
      david/2024/01/20/index.html
  21. 6
    8
      david/2024/01/21/index.html
  22. 6
    8
      david/2024/01/22/index.html
  23. 6
    8
      david/2024/01/23/index.html
  24. 6
    8
      david/2024/01/24/index.html
  25. 6
    8
      david/2024/01/25/index.html
  26. 6
    8
      david/2024/01/26/index.html
  27. 6
    8
      david/2024/01/27/index.html
  28. 6
    8
      david/2024/01/28/index.html
  29. 6
    8
      david/2024/01/29/index.html
  30. 6
    8
      david/2024/01/30/index.html
  31. 6
    8
      david/2024/01/31/index.html
  32. 6
    8
      david/2024/02/01/index.html
  33. 6
    8
      david/2024/02/02/index.html
  34. 6
    8
      david/2024/02/03/index.html
  35. 6
    8
      david/2024/02/04/index.html
  36. 6
    8
      david/2024/02/05/index.html
  37. 6
    8
      david/2024/02/06/index.html
  38. 6
    8
      david/2024/02/07/index.html
  39. 6
    8
      david/2024/02/08/index.html
  40. 6
    8
      david/2024/02/09/index.html
  41. 6
    8
      david/2024/02/10/index.html
  42. 6
    8
      david/2024/02/11/index.html
  43. 6
    8
      david/2024/02/12/index.html
  44. 6
    8
      david/2024/02/13/index.html
  45. 6
    8
      david/2024/02/14/index.html
  46. 6
    8
      david/2024/02/15/index.html
  47. 6
    8
      david/2024/02/16/index.html
  48. 6
    8
      david/2024/02/17/index.html
  49. 6
    8
      david/2024/02/18/index.html
  50. 6
    8
      david/2024/02/19/index.html
  51. 6
    8
      david/2024/02/20/index.html
  52. 6
    8
      david/2024/02/21/index.html
  53. 6
    8
      david/2024/02/22/index.html
  54. 6
    8
      david/2024/02/23/index.html
  55. 6
    8
      david/2024/02/24/index.html
  56. 6
    8
      david/2024/02/25/index.html
  57. 6
    8
      david/2024/02/26/index.html
  58. 6
    8
      david/2024/02/27/index.html
  59. 6
    8
      david/2024/02/28/index.html
  60. 6
    8
      david/2024/02/29/index.html
  61. 6
    8
      david/2024/03/01/index.html
  62. 6
    8
      david/2024/03/02/index.html
  63. 6
    8
      david/2024/03/03/index.html
  64. 6
    8
      david/2024/03/04/index.html
  65. 6
    8
      david/2024/03/05/index.html
  66. 6
    8
      david/2024/03/06/index.html
  67. 6
    8
      david/2024/03/07/index.html
  68. 6
    8
      david/2024/03/08/index.html
  69. 6
    8
      david/2024/03/09/index.html
  70. 6
    8
      david/2024/03/10/index.html
  71. 6
    8
      david/2024/03/11/index.html
  72. 6
    8
      david/2024/03/12/index.html
  73. 1
    1
      david/log/index.xml
  74. 6
    8
      david/templates/article_2024.html

+ 6
- 8
david/2024/01/01/index.html View File

@@ -383,13 +383,12 @@ Pb&nbsp;: mémoire, troubles cognitifs, responsable de cancer, pb sommeil, déco
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -399,14 +398,13 @@ Pb&nbsp;: mémoire, troubles cognitifs, responsable de cancer, pb sommeil, déco
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/02/index.html View File

@@ -425,13 +425,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -441,14 +440,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/03/index.html View File

@@ -372,13 +372,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -388,14 +387,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/04/index.html View File

@@ -392,13 +392,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -408,14 +407,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/05/index.html View File

@@ -398,13 +398,12 @@ Isobel hésite. Sans lever les yeux de son livre, Emily répond à sa place&nbsp
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -414,14 +413,13 @@ Isobel hésite. Sans lever les yeux de son livre, Emily répond à sa place&nbsp
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/06/index.html View File

@@ -392,13 +392,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -408,14 +407,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/07/index.html View File

@@ -438,13 +438,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -454,14 +453,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/08/index.html View File

@@ -435,13 +435,12 @@ a::before {
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -451,14 +450,13 @@ a::before {
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/09/index.html View File

@@ -406,13 +406,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -422,14 +421,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/10/index.html View File

@@ -490,13 +490,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -506,14 +505,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/11/index.html View File

@@ -450,13 +450,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -466,14 +465,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/12/index.html View File

@@ -515,13 +515,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -531,14 +530,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/13/index.html View File

@@ -421,13 +421,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -437,14 +436,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/14/index.html View File

@@ -416,13 +416,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -432,14 +431,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/15/index.html View File

@@ -368,13 +368,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -384,14 +383,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/16/index.html View File

@@ -390,13 +390,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -406,14 +405,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/17/index.html View File

@@ -435,13 +435,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -451,14 +450,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/18/index.html View File

@@ -364,13 +364,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -380,14 +379,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/19/index.html View File

@@ -414,13 +414,12 @@ quelqu’un nous&nbsp;voit</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -430,14 +429,13 @@ quelqu’un nous&nbsp;voit</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/20/index.html View File

@@ -449,13 +449,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -465,14 +464,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/21/index.html View File

@@ -394,13 +394,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -410,14 +409,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/22/index.html View File

@@ -474,13 +474,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -490,14 +489,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/23/index.html View File

@@ -398,13 +398,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -414,14 +413,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/24/index.html View File

@@ -399,13 +399,12 @@ par nos&nbsp;obscurités</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -415,14 +414,13 @@ par nos&nbsp;obscurités</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/25/index.html View File

@@ -400,13 +400,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -416,14 +415,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/26/index.html View File

@@ -422,13 +422,12 @@ Des affects, qui constituent la nécessaire force motrice du mouvement que nous
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -438,14 +437,13 @@ Des affects, qui constituent la nécessaire force motrice du mouvement que nous
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/27/index.html View File

@@ -421,13 +421,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -437,14 +436,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/28/index.html View File

@@ -392,13 +392,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -408,14 +407,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/29/index.html View File

@@ -505,13 +505,12 @@ git archive --remote=larlet-fr-david-cache.git master | tar -x -C larlet-fr/davi
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -521,14 +520,13 @@ git archive --remote=larlet-fr-david-cache.git master | tar -x -C larlet-fr/davi
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/30/index.html View File

@@ -411,13 +411,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -427,14 +426,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/01/31/index.html View File

@@ -435,13 +435,12 @@ Représentant de l’entreprise / Représentant de&nbsp;l’association</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -451,14 +450,13 @@ Représentant de l’entreprise / Représentant de&nbsp;l’association</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/01/index.html View File

@@ -437,13 +437,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -453,14 +452,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/02/index.html View File

@@ -454,13 +454,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -470,14 +469,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/03/index.html View File

@@ -438,13 +438,12 @@ end run
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -454,14 +453,13 @@ end run
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/04/index.html View File

@@ -468,13 +468,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -484,14 +483,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/05/index.html View File

@@ -376,13 +376,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -392,14 +391,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/06/index.html View File

@@ -419,13 +419,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -435,14 +434,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/07/index.html View File

@@ -391,13 +391,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -407,14 +406,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/08/index.html View File

@@ -384,13 +384,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -400,14 +399,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/09/index.html View File

@@ -376,13 +376,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -392,14 +391,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/10/index.html View File

@@ -379,13 +379,12 @@ etc.</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -395,14 +394,13 @@ etc.</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/11/index.html View File

@@ -366,13 +366,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -382,14 +381,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/12/index.html View File

@@ -456,13 +456,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -472,14 +471,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/13/index.html View File

@@ -410,13 +410,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -426,14 +425,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/14/index.html View File

@@ -378,13 +378,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -394,14 +393,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/15/index.html View File

@@ -422,13 +422,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -438,14 +437,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/16/index.html View File

@@ -416,13 +416,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -432,14 +431,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/17/index.html View File

@@ -387,13 +387,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -403,14 +402,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/18/index.html View File

@@ -458,13 +458,12 @@ button.primary {
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -474,14 +473,13 @@ button.primary {
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/19/index.html View File

@@ -464,13 +464,12 @@ $ python3 -c 'import secrets; print(secrets.token_hex(100))'
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -480,14 +479,13 @@ $ python3 -c 'import secrets; print(secrets.token_hex(100))'
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/20/index.html View File

@@ -403,13 +403,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -419,14 +418,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/21/index.html View File

@@ -439,13 +439,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -455,14 +454,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/22/index.html View File

@@ -405,13 +405,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -421,14 +420,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/23/index.html View File

@@ -440,13 +440,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -456,14 +455,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/24/index.html View File

@@ -392,13 +392,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -408,14 +407,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/25/index.html View File

@@ -406,13 +406,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -422,14 +421,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/26/index.html View File

@@ -423,13 +423,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -439,14 +438,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/27/index.html View File

@@ -393,13 +393,12 @@ Et je sais enfin qui je&nbsp;suis…</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -409,14 +408,13 @@ Et je sais enfin qui je&nbsp;suis…</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/28/index.html View File

@@ -420,13 +420,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -436,14 +435,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/02/29/index.html View File

@@ -425,13 +425,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -441,14 +440,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/01/index.html View File

@@ -425,13 +425,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -441,14 +440,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/02/index.html View File

@@ -395,13 +395,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -411,14 +410,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/03/index.html View File

@@ -463,13 +463,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -479,14 +478,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/04/index.html View File

@@ -376,13 +376,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -392,14 +391,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/05/index.html View File

@@ -391,13 +391,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -407,14 +406,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/06/index.html View File

@@ -420,13 +420,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -436,14 +435,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/07/index.html View File

@@ -425,13 +425,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -441,14 +440,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/08/index.html View File

@@ -407,13 +407,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -423,14 +422,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/09/index.html View File

@@ -437,13 +437,12 @@ Lovée dans mes&nbsp;bras</p>
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -453,14 +452,13 @@ Lovée dans mes&nbsp;bras</p>
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/10/index.html View File

@@ -366,13 +366,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -382,14 +381,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/11/index.html View File

@@ -431,13 +431,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -447,14 +446,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 6
- 8
david/2024/03/12/index.html View File

@@ -439,13 +439,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -455,14 +454,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>


+ 1
- 1
david/log/index.xml View File

@@ -6,7 +6,7 @@
<link href="https://larlet.fr/david/" rel="alternate" type="text/html" />
<link href="https://larlet.fr/david/log/" rel="self" />
<id>https://larlet.fr/david/</id>
<updated>2024-03-12T12:00:00+01:00</updated>
<updated>2024-03-13T12:00:00+01:00</updated>
<author>
<name>David Larlet</name>
<uri>https://larlet.fr/david/</uri>

+ 6
- 8
david/templates/article_2024.html View File

@@ -112,13 +112,12 @@
<script type="module">
import { annotate } from '/static/david/js/rough-notation-0.5.1.esm.min.js'

const observer = new IntersectionObserver(elements => {
const markObserver = new IntersectionObserver((entries, observer) => {
const computedStyle = getComputedStyle(document.documentElement)
const markBackground = computedStyle.getPropertyValue('--mark-background')
for (const element of elements) {
if (element.intersectionRatio === 0) continue
const markElement = element.target
if (markElement.dataset.annotated) continue
for (const entry of entries) {
if (entry.intersectionRatio === 0) continue
const markElement = entry.target
const annotation = annotate(
markElement, {
type: 'highlight',
@@ -128,14 +127,13 @@
}
)
annotation.show()
// Avoid the rough notation to be applied multiple times.
markElement.dataset.annotated = true
observer.unobserve(markElement)
}
}, {threshold: 1.0})

for (const markElement of document.querySelectorAll('mark')) {
markElement.style.backgroundColor = 'inherit'
observer.observe(markElement)
markObserver.observe(markElement)
}
</script>
{% endblock %}

Loading…
Cancel
Save