summaryrefslogtreecommitdiff
path: root/tdd-bootstrap.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-30 02:37:09 +0100
committeremkael <emkael@tlen.pl>2018-01-30 02:37:09 +0100
commit794a1fd682fa39d21a4fcc12c7065ca751acd576 (patch)
tree847f994022fdb4688d64017a3a52a68ba055dc39 /tdd-bootstrap.php
parent55ab3dc2fb6b59d9d07c5166f58b313321741490 (diff)
Adding JavaScript to handle highlighting single table
Diffstat (limited to 'tdd-bootstrap.php')
-rw-r--r--tdd-bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdd-bootstrap.php b/tdd-bootstrap.php
index 342ecd0..79320b6 100644
--- a/tdd-bootstrap.php
+++ b/tdd-bootstrap.php
@@ -66,7 +66,9 @@ class Protocol {
}
$head = $dom->find('/html/head', 0);
- $head->innertext .= '<link rel="stylesheet" type="text/css" href="css/tdd.css" />';
+ $head->innertext .= '<link rel="stylesheet" type="text/css" href="css/tdd.css" />'
+ . '<script src="https://code.jquery.com/jquery-3.3.1.min.js" type="text/javascript"></script>'
+ . '<script src="sklady/tdd.js" type="text/javascript"></script>';
// replacing meta http-equiv refresh with a javascript refresh to preserve hash in the result page
$meta = $head->find('meta');