lil-uri
Version:
Tiny URI parser and builder with chainable API
25 lines (24 loc) • 699 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/mocha-phantomjs/node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<script>
mocha.ui('bdd')
mocha.reporter('html')
require = function (module) {
return module === 'chai' ? chai : lil.uri
}
</script>
<script src="../uri.js"></script>
<script src="uri.js"></script>
<script>
if (window.mochaPhantomJS) mochaPhantomJS.run()
else mocha.run()
</script>
</body>
</html>