decouple
Version:
Decouple the DOM events from expensive functions.
26 lines (25 loc) • 718 B
HTML
<html>
<head>
<title>decouple Tests</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.min.css">
</head>
<body style="height:2000px;">
<div id="mocha"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/3.2.0/mocha.min.js"></script>
<script>
mocha.setup('bdd');
var exports = null;
function assert(expr, msg) {
if (!expr) throw new Error(msg || 'failed');
}
</script>
<script src="../dist/decouple.js"></script>
<script src="decouple.spec.js"></script>
<script>
window.onload = function() {
var runner = mocha.run();
};
</script>
</body>
</html>