Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ node_modules
*.log
ehthumbs.db
Thumbs.db
# dev files
dev/*
!lib
!dev/index.html
# python
venv
14 changes: 5 additions & 9 deletions src/index.html → dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,16 @@

<!-- add mocha -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.css">
<script src="https://cdn.socket.io/3.1.3/socket.io.min.js" integrity="sha384-cPwlPLvBTa3sKAgddT6krw0cJat7egBga3DJepJyrLl4Q9/5WLra3rrnMcyTyOnh" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sinon.js/10.0.0/sinon.min.js"></script>
<script>
mocha.setup('bdd');
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chai/3.5.0/chai.js"></script>

<script src="main.js" type="module" defer></script>
<script src="tests/align.test.js" type="module" defer></script>
<script src="tests/editor.test.js" type="module" defer></script>
<script src="tests/list.test.js" type="module" defer></script>
<script src="tests/link.test.js" type="module" defer></script>
<script src="tests/fontSize.test.js" type="module" defer></script>
<script src="tests/insertHTML.test.js" type="module" defer></script>
<script src="tests/fontAwesome.test.js" type="module" defer></script>
<script src="tests/utils.test.js" type="module" defer></script>
<script src="tests/autostep.test.js" type="module" defer></script>
<script src="test-suites.js" type="module" defer></script>
</head>
<body>
<div id="control-panel">
Expand All @@ -152,6 +146,8 @@
<div>
Or<br><button type="button" id="use-sample">Use the sample HTML</button>
<br><br>
Or<br><button type="button" id="start-collaboration">Start collaboration</button>
<br><br>
Or<br><button type="button" id="start-tests">Launch tests</button>
</div>
</div>
Expand Down
Loading