lil-uuid
Version:
UUID v4 generator and validator (RFC4122 compliant)
27 lines (26 loc) • 792 B
HTML
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../node_modules/mocha-phantomjs/node_modules/mocha/mocha.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../node_modules/sinon/pkg/sinon.js"></script>
<script src="../node_modules/mocha-phantomjs/node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
mocha.ui('bdd')
mocha.reporter('html')
expect = chai.expect
require = function (module) {
return module === 'chai' ? chai : lil.uuid
}
</script>
<script src="../uuid.js"></script>
<script src="uuid.js"></script>
<script>
if (window.mochaPhantomJS) mochaPhantomJS.run()
else mocha.run()
</script>
</body>
</html>