aboutsummaryrefslogtreecommitdiff
path: root/test/test-babel.html
blob: 2cf3d1ea798159b101cd3899877c865b0d41a691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!doctype html>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="../bower_components/qunit/qunit/qunit.css"/>
	</head>
	<body>

		<h1 id="qunit-header">SystemJS Test Suite</h1>

		<h2 id="qunit-banner"></h2>
		<div id="qunit-testrunner-toolbar"></div>
		<h2 id="qunit-userAgent"></h2>
		<ol id="qunit-tests"></ol>
		<div id="qunit-test-area"></div>

		<script src="../dist/system.src.js" type="text/javascript"></script>
		<script>
			System.paths.babel = '../node_modules/babel-core/browser.js';
			System.transpiler = 'babel';
			System['import']('test.js')['catch'](function(e) {
				setTimeout(function() {
					throw e.stack || e;
				})
			});
		</script>

		<script src="../bower_components/qunit/qunit/qunit.js"></script>
	</body>
</html>