perf(ivy): set ngDevMode to false in render3 benchmarks (#21502)

PR Close #21502
This commit is contained in:
Marc Laval 2018-01-12 14:17:44 +01:00 committed by Miško Hevery
parent e18f1de003
commit 6397062e22
3 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,8 @@
</div> </div>
<script> <script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1] var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js'; || '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>'); document.write('<script src="' + mainUrl + '">\u003c/script>');

View File

@ -28,6 +28,8 @@
</div> </div>
<script> <script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1] var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js'; || '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>'); document.write('<script src="' + mainUrl + '">\u003c/script>');

View File

@ -28,6 +28,8 @@
</div> </div>
<script> <script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1] var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js'; || '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>'); document.write('<script src="' + mainUrl + '">\u003c/script>');