|
@@ -1,9 +1,22 @@
|
|
|
<html>
|
|
|
<head>
|
|
|
-
|
|
|
+ <title>
|
|
|
+ If you see this, JavaScript threw an error
|
|
|
+ </title>
|
|
|
</head>
|
|
|
<body>
|
|
|
+ <h1>
|
|
|
+ If you see this, JavaScript threw an error
|
|
|
+ </h1>
|
|
|
|
|
|
</body>
|
|
|
<script src="./transloadit-js-client.js"></script>
|
|
|
+ <script>
|
|
|
+ var branch = location.pathname.split('/')[2];
|
|
|
+ var elTitle = document.querySelector('title');
|
|
|
+ var elH1 = document.querySelector('h1');
|
|
|
+ var title = 'You are reviewing the latest push of branch: ' + branch;
|
|
|
+ elTitle.innerHTML = title;
|
|
|
+ elH1.innerHTML = title;
|
|
|
+ </script>
|
|
|
</html>
|