radial-progress-chart
Version:
A customizable Radial Progress Chart written on the top of D3.js.
56 lines (49 loc) • 1.54 kB
HTML
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Radial-progress-chart Mocha Runner</title>
<link href="../static/css/mocha.css" type="text/css" rel="stylesheet" charset="utf-8">
</head>
<body>
<script src="../static/js/mocha.js?nowrap"></script>
<script src="../static/js/sinon.js?nowrap"></script>
<div id="mocha"></div>
<script>
mocha.ui('bdd');
mocha.reporter('html');
</script>
<script>
// polyfill for phantomjs 1.x
// https://github.com/webpack/style-loader/issues/31
if (typeof Function.prototype.bind != 'function') {
Function.prototype.bind = function bind(obj) {
var args = Array.prototype.slice.call(arguments, 1),
self = this,
nop = function() {
},
bound = function() {
return self.apply(
this instanceof nop ? this : (obj || {}), args.concat(
Array.prototype.slice.call(arguments)
)
);
};
nop.prototype = this.prototype || {};
bound.prototype = new nop();
return bound;
};
}
</script>
<script src="../dist/test.js?nowrap"></script>
<script>
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
</script>
</body>
</html>