-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtest.html
67 lines (59 loc) · 1.94 KB
/
test.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>jquery.datetextentry test suite</title>
<link rel="stylesheet" type="text/css" href="jquery.datetextentry.css">
<link rel="stylesheet" type="text/css" href="test/jasmine-1.3.0/jasmine.css">
<style type="text/css">
body {
background-color: #ffffff;
font-size: 20px;
}
input {
font-size: 20px;
}
#HTMLReporter {
margin-bottom: 70px;
}
</style>
</head>
<body>
<p class="p1">
<input id="text1" type="text" style="width: 160px;" value=""></br>
<input id="date1" type="text" style="width: 160px;" value="">
</p>
<p class="p2">
<input id="date2" type="text" style="width: 160px;" value="1975-03-18">
</p>
<div id="jasmine-result"></div>
<script type="text/javascript" src="docs/examples/jquery.js"></script>
<script type="text/javascript" src="jquery.datetextentry.js"></script>
<script type="text/javascript" src="test/jasmine-1.3.0/jasmine.js"></script>
<script type="text/javascript" src="test/jasmine-1.3.0/jasmine-html.js"></script>
<script type="text/javascript" src="test/helpers.js"></script>
<!--
-->
<script type="text/javascript" src="test/datetextentry.js"></script>
<script type="text/javascript" src="test/api.js"></script>
<script type="text/javascript" src="test/min-max.js"></script>
<script type="text/javascript">
//
// To run ESLint (currently a manual process):
//
// npm install eslint
// ./node_modules/.bin/eslint ./jquery.datetextentry.js
//
jQuery(function($) {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 250;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
jasmineEnv.execute();
});
</script>
</body>
</html>