Cross Reference: /yui3/src/editor/tests/editor.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Editor Tests</title>
<style>
#editor {
height: 400px;
width: 400px;
margin: 2em;
border: 1px solid black;
}
#log {
position: absolute;
right: 5px;
width: 300px;
}
</style>
</head>
<body class="yui3-skin-sam">
<div id="log"></div>
<div id="editor"></div>
<script type="text/javascript" src="/build/yui/yui.js"></script>
<script type="text/javascript">
var YUI_config = {
gconfig: true,
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
};
YUI({
modules: {
'editor-tests': {
fullpath: '/editor.js',
requires: [ 'test', 'editor-base', 'editor-para', 'editor-br', 'editor-bidi', 'node-event-simulate' ]
}
}
}).use('editor-tests', 'test-console', 'test', function(Y) {
new Y.Test.Console().render('#log');
Y.Test.Runner.run();
});
</script>
</body>
</html>