mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 04:07:21 -04:00
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="stylesheet" href="https://raw.github.com/visionmedia/mocha/master/mocha.css" />
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
<script src="https://raw.github.com/visionmedia/mocha/master/mocha.js"></script>
|
|
<script>
|
|
mocha.setup('bdd');
|
|
</script>
|
|
<script src="../base64.js"></script>
|
|
<script>
|
|
var assert = function(expr, msg) {
|
|
if (!expr) throw new Error(msg || 'failed');
|
|
};
|
|
assert.equal = function(a, b, msg) {
|
|
if (a !== b) throw new Error(msg || ('failed : '+a+','+b));
|
|
};
|
|
</script>
|
|
<script src="./dankogai.js"></script>
|
|
<script src="./es5.js"></script>
|
|
<script src="./large.js"></script>
|
|
<script src="./yoshinoya.js"></script>
|
|
<script>
|
|
$(function() {
|
|
mocha.run();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
$Id: browser.html,v 0.2 2012/08/23 19:44:32 dankogai Exp dankogai $
|
|
<div id="mocha"></div>
|
|
</body>
|
|
</html>
|