forked from xdan/jodit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
68 lines (64 loc) · 2.41 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
68
<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Jodit Tests </title>
<script>
if (!location.host.match(/localhost/)) {
document.write(
'<' + 'link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.1.1/mocha.min.css" />' +
'<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/5.1.1/mocha.min.js"><' + '/script>' +
'<' + 'script src="https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.min.js"><' + '/script>'
)
} else {
document.write(
'<' + 'link rel="stylesheet" href="../node_modules/mocha/mocha.css" />' +
'<' + 'script src="../node_modules/mocha/mocha.js"><' + '/script>' +
'<' + 'script src="../node_modules/chai/chai.js"><' + '/script>'
)
}
</script>
</head>
<body>
<div id="mocha"></div>
<script>
mocha.ui('bdd');
mocha.reporter('html');
</script>
<link rel="stylesheet" href="../app.css" />
<link rel="stylesheet" href="../build/jodit.min.css" />
<script src="../build/jodit.min.js"></script>
<script src="bootstrap.js"></script>
<script src="tests/editorTest.js"></script>
<script src="tests/domTest.js"></script>
<script src="tests/selectionTest.js"></script>
<script src="tests/eventsTest.js"></script>
<script src="tests/interfaceTest.js"></script>
<script src="tests/enterTest.js"></script>
<script src="tests/commandsTest.js"></script>
<script src="tests/tableTest.js"></script>
<script src="tests/undoredoTest.js"></script>
<script src="tests/mirrorTest.js"></script>
<script src="tests/filebrowserTest.js"></script>
<script src="tests/uploaderTest.js"></script>
<script src="tests/imageTest.js"></script>
<script src="tests/dialogTest.js"></script>
<script src="tests/pluginsTest.js"></script>
<script src="tests/mobileTest.js"></script>
<script src="tests/iframeTest.js"></script>
<script src="tests/clipboardTest.js"></script>
<script src="tests/inlineModeTest.js"></script>
<script src="tests/i18nTest.js"></script>
<script>
window.onload = function() {
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
};
</script>
</body>
</html>