mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
perf(ivy): set ngDevMode to false in render3 benchmarks (#21502)
PR Close #21502
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// TODO(mlaval): remove once we have a proper solution
|
||||
ngDevMode = false;
|
||||
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|
||||
|| '../../bootstrap_ng2.js';
|
||||
document.write('<script src="' + mainUrl + '">\u003c/script>');
|
||||
|
||||
Reference in New Issue
Block a user