forked from BlakeStearman/stopwatch-devsummit-2015
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.html
31 lines (27 loc) · 873 Bytes
/
widget.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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Stopwatch</title>
<link rel="stylesheet" href="./css/app-widget.css">
<link rel="stylesheet" href="./js/widgets/css/Stopwatch.css">
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.10.3/dojo/dojo.js"
data-dojo-config="
async: true,
packages: [{
name: 'widgets',
location: location.pathname.replace(/\/[^/]+$/, '') + '/js/widgets'
}]"></script>
</head>
<body>
<div class="nav">
<a class="hoverHighlight" href="./index.html">< Back</a> | Stopwatch Dojo widget
</div>
<div class="display" id="stopwatch" data-dojo-type="widgets/Stopwatch"></div>
<script>
require(["dojo/parser", "widgets/Stopwatch", "dojo/domReady!"], function(parser) {
parser.parse();
});
</script>
</body>
</html>