diff options
Diffstat (limited to 'test/test-traceur.html')
| -rw-r--r-- | test/test-traceur.html | 34 | 
1 files changed, 34 insertions, 0 deletions
| diff --git a/test/test-traceur.html b/test/test-traceur.html new file mode 100644 index 000000000..87f4cd23d --- /dev/null +++ b/test/test-traceur.html @@ -0,0 +1,34 @@ +<!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> +			// test polyfill loading +			// window.URL = undefined; +		</script> + +		<script src="../dist/system.src.js" type="text/javascript"></script> +		<script> +			System.traceurOptions = { asyncFunctions: true }; +			System.paths.traceur = '../node_modules/traceur/bin/traceur.js'; +			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>
\ No newline at end of file | 
