Package: node-mocha / 4.1.0+ds3-5

0001-Use-relative-path-in-installed-examples.patch Patch series | 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
33
34
35
36
From c4eaa378a59faca5fd7c9aeaeaa6cfdc394f7b89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= <rouca@debian.org>
Date: Thu, 1 Nov 2018 16:16:04 +0100
Subject: Use relative path in installed examples
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

author: Bastien Roucari├Ęs <rouca@debian.org>

Forwarded: not-needed
---
 docs/example/tests.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/example/tests.html b/docs/example/tests.html
index b4c8a735..ba7cd456 100644
--- a/docs/example/tests.html
+++ b/docs/example/tests.html
@@ -3,13 +3,13 @@
   <head>
     <meta charset="utf-8">
     <title>Mocha</title>
-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/4.0.1/mocha.min.css">
+    <link rel="stylesheet" href="../../../javascript/mocha/mocha.min.css">
     <link rel="shortcut icon" href="../favicon.ico">
   </head>
   <body>
     <div id="mocha"></div>
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/4.0.1/mocha.min.js"></script>
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.min.js"></script>
+    <script src="../../../javascript/mocha/mocha.min.js"></script>
+    <script src="../../../javascript/chai/chai.min.js"></script>
     <script>mocha.setup('bdd')</script>
     <script>expect = chai.expect</script>
     <script src="Array.js"></script>