emodal
Version:
Easy Modal for bootstrap, is a simple way to create modal dialogs using javaScript.
47 lines (44 loc) • 1.81 kB
HTML
<html>
<head lang="en">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<title>BS eModal-specs</title>
<style>
body {
font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
padding-left: 20px;
}
</style>
<!--BEWARE of using any app styles as @media can screw up tests -->
<link href="../node_modules/mocha/mocha.css" rel="stylesheet" />
<link href="../node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet"></link>
</head>
<body>
<h1><a href=".">Spec Runner</a></h1>
<p>
<strong>Make sure the REMOTE server is running</strong>
<br /> Click on a <em>description title</em> to narrow the scope to just its specs (see "<a href="http://mochajs.github.io/mocha/#grep-option"
target="_blank" title="MochaJS grep option">
?grep
</a>" in address bar).<br /> Click on a <em>spec title</em> to see the test implementation.<br /> Click on <em>page title</em> to start over.
</p>
<div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
var expect = chai.expect;
var assert = chai.assert;
var should = chai.should();
mocha.setup('bdd');
</script>
<script src="../node_modules/jquery/dist/jquery.js"></script>
<script src="../node_modules/bootstrap/dist/js/bootstrap.js"></script>
<script src="../dist/eModal.js"></script>
<script src="eModal.spec.js"></script>
<script>
mocha.run();
</script>
</body>
</html>