forked from rhyolight/JavaScript-Data-Store
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsds_tests.html
More file actions
81 lines (65 loc) · 1.97 KB
/
jsds_tests.html
File metadata and controls
81 lines (65 loc) · 1.97 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>JSDS Tests</title>
<style type="text/css">
/*margin and padding on body element
can introduce errors in determining
element position and are not recommended;
we turn them off as a foundation for YUI
CSS treatments. */
body {
margin:0;
padding:0;
}
</style>
<!-- online -->
<link type="text/css" rel="stylesheet" href="http://yui.yahooapis.com/combo?3.1.1/build/cssfonts/fonts-min.css" />
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.1.1/build/yui/yui-min.js"></script>
<!-- offline
<link type="text/css" rel="stylesheet" href="/Users/mtaylor/dev/javascript/yui/yui3/build/cssfonts/fonts-min.css" />
<script type="text/javascript" src="/Users/mtaylor/dev/javascript/yui/yui3/build/yui/yui-min.js"></script>
-->
<!--begin custom header content for this example-->
<style type="text/css">
#testLogger {
margin-bottom: 1em;
}
#testLogger .yui3-console .yui3-console-title {
border: 0 none;
color: #000;
font-size: 13px;
font-weight: bold;
margin: 0;
text-transform: none;
}
#testLogger .yui3-console .yui3-console-entry-meta {
margin: 0;
}
.yui3-skin-sam .yui3-console-entry-pass .yui3-console-entry-cat {
background: #070;
color: #fff;
}
</style>
<!--end custom header content for this example-->
</head>
<body class="yui3-skin-sam yui-skin-sam">
<div id="testLogger"></div>
<script src="../main/jsds.js"></script>
<script src="jsds_tests.js"></script>
<script type="text/javascript">
YUI().use("console", "test", "jsds_tests", function (Y) {
//create the console
var r = new Y.Console({
newestOnTop : false,
width: "500px",
style: 'block' // to anchor in the example content
});
r.render('#testLogger');
//run the tests
Y.Test.Runner.run();
});
</script>
</body>
</html>