File: 0002-Use-full-path-in-examples.patch

package info (click to toggle)
node-mocha 11.7.2%2Bds1%2B~cs36.3.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,240 kB
  • sloc: javascript: 36,385; makefile: 8; sh: 2
file content (32 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 3 Dec 2025 17:07:31 +0100
Subject: Use full path in examples

Forwarded: not-needed
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2019-09-06
---
 docs/index.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/index.md b/docs/index.md
index e936bce..90bda48 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -2152,13 +2152,13 @@ A typical setup might look something like the following, where we call `mocha.se
     <meta charset="utf-8" />
     <title>Mocha Tests</title>
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css" />
+    <link rel="stylesheet" href="/javascript/mocha/mocha.css" />
   </head>
   <body>
     <div id="mocha"></div>
 
-    <script src="https://unpkg.com/chai@4/chai.js"></script>
-    <script src="https://unpkg.com/mocha/mocha.js"></script>
+    <script src="/javascript/chai/chai.js"></script>
+    <script src="/javascript/mocha/mocha.js"></script>
 
     <script class="mocha-init">
       mocha.setup('bdd');