diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-11 03:55:52 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-11 03:55:52 +0200 |
commit | ea9ebd4826fe9807af5bc17e786b3dc58f163970 (patch) | |
tree | 2894b40614ebe977797cea5745b215e2a2851f61 /js/vendor/es6-shim/test-sham/index.html | |
parent | 594b92f649d8ed8a705f1af23639463078170d46 (diff) |
port to es5 and add es6 shims for object prototypes instead
Diffstat (limited to 'js/vendor/es6-shim/test-sham/index.html')
-rw-r--r-- | js/vendor/es6-shim/test-sham/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/js/vendor/es6-shim/test-sham/index.html b/js/vendor/es6-shim/test-sham/index.html new file mode 100644 index 000000000..e83204d0f --- /dev/null +++ b/js/vendor/es6-shim/test-sham/index.html @@ -0,0 +1,22 @@ +<!doctype html> +<html> +<head> + <meta charset="utf-8"> + <title>es6-shim tests</title> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script> + <link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> + <script src="../node_modules/es5-shim/es5-shim.js"></script> + <script src="../node_modules/es5-shim/es5-sham.js"></script> + <script src="../node_modules/mocha/mocha.js"></script> + <!-- note that chai uses Object.create() so needs es5-sham to be loaded --> + <script src="../node_modules/chai/chai.js"></script> + <script src="../es6-sham.js"></script> + <script src="../test/browser-setup.js"></script> + <script src="set-prototype-of.js"></script> + <script src="../test/browser-onload.js"></script> +</head> +<body> + <div id="mocha"></div> +</body> +</html> + |