parsleyjs
Version:
Validate your forms, frontend, without writing a single line of javascript!
28 lines (23 loc) • 826 B
HTML
<!-- You need to run `gulp test-browser` before opening this in your browser -->
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Tests</title>
<link rel='stylesheet' href='../node_modules/mocha/mocha.css' />
<!-- Polyfill (required by Babel) -->
<script src='../node_modules/babel-core/browser-polyfill.js'></script>
<!-- Testing libraries -->
<script src='../node_modules/mocha/mocha.js'></script>
<script src='../node_modules/expect.js/index.js'></script>
<script src='../node_modules/sinon/pkg/sinon.js'></script>
<!-- Livereload -->
<script src='http://localhost:35729/livereload.js'></script>
<!-- Load the built library -->
<script src='../tmp/__spec-build.js'></script>
</head>
<body>
<!-- Required for browser reporter -->
<div id='mocha'></div>
</body>
</html>