-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtestGadget.html
38 lines (35 loc) · 1.18 KB
/
testGadget.html
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
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<!-- jQuery-->
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
<link rel="stylesheet" href="css/testGadget.css">
<!-- Finesse Library -->
<script>
jQuery.ajax({
url: "/desktop/assets/js/finesse.js",
dataType: "script",
async: false
});
</script>
<!-- Finesse Helper Library -->
<script type="test/javascript" src="js/lib/finn-0.9.8.js"></script>
<script src="js/testGadget.js"></script>
<script type="text/javascript">
$(function() {
finesse.modules.DantestGadget.init();
});
</script>
</head>
<body>
<button id="openURL" class="ch-button md-button md-button--blue">Open url</button>
<div id="container">
</div>
<!-- Adding CSS without Finesse messing with it -->
<script type="text/javascript">
var baseUrl = window._getParameter("baseUrl") + "css/";
window.injectResource(baseUrl + "momentum-ui.min.css");
window.injectResource(baseUrl + "testGadget.css");
</script>
</body>
</html>