mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 15:26:16 -08:00
add prettier
This commit is contained in:
1 parent
f4fbd3e6c2
commit
4466e42e19
5 files changed
+1873
-1896
No files matched your search
+1865
-1859
File diff suppressed because it is too large.
Load diff
@@ -38,8 +38,10 @@
|
||||
|
||||
</script>
|
||||
<script src="../dist/artplayer.js"></script>
|
||||
<script src="../dist/artplayer-plugin-danmuku.js"></script>
|
||||
<script src="./constructor.test.js"></script>
|
||||
<script src="./option.test.js"></script>
|
||||
<script src="./document.test.js"></script>
|
||||
<script>
|
||||
mocha.checkLeaks();
|
||||
mocha.run();
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Mocha Tests</title>
|
||||
<link href="https://unpkg.com/mocha@5.2.0/mocha.css" rel="stylesheet" />
|
||||
<style>
|
||||
.artplayer-app {
|
||||
width: 400px;
|
||||
height: 300px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="artplayer-app"></div>
|
||||
<div id="mocha"></div>
|
||||
<script src="https://unpkg.com/chai/chai.js"></script>
|
||||
<script src="https://unpkg.com/mocha@5.2.0/mocha.js"></script>
|
||||
<script>
|
||||
window.mocha.setup('bdd');
|
||||
window.expect = window.chai.expect;
|
||||
|
||||
</script>
|
||||
<script src="../dist/artplayer.js"></script>
|
||||
<script src="../dist/artplayer-plugin-danmuku.js"></script>
|
||||
<script src="./document.test.js"></script>
|
||||
<script>
|
||||
mocha.checkLeaks();
|
||||
mocha.run();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user