fix(benchmarks): allow ng2_switch benchmark to be used with AoT. (#12124)
This commit is contained in:
parent
f1cfddf6d6
commit
de1f44f51f
@ -19,9 +19,13 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<tree id="root"></tree>
|
<tree id="root">Loading...</tree>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../../bootstrap_ng2.js"></script>
|
<script>
|
||||||
|
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|
||||||
|
|| '../../bootstrap_ng2.js';
|
||||||
|
document.write('<script src="' + mainUrl + '">\u003c/script>');
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user