index.html 1.16 KB
<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>