mithril
Version:
A framework for building brilliant applications
29 lines (26 loc) • 536 B
HTML
<html>
<head>
<meta charset="utf-8">
<script src="../../ospec/ospec.js"></script>
<!--
Pretend a CommonJS environment exists just enough for the polyfill to
load, but keep it narrow.
-->
<script>
window.module = {exports:null}
</script>
<script src="../polyfill.js"></script>
<script>
PromisePolyfill = module.exports
delete module.exports
delete window.module
</script>
<script src="./test-promise.js"></script>
<script>
o.run()
</script>
</head>
<body>
</body>
</html>