Skip to content

Commit

Permalink
docs: fix angular#19989, add zone flags(blacklist/module) in guide (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion authored and leo6104 committed Mar 25, 2018
1 parent 6834e72 commit f4ed8f4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion aio/content/guide/browser-support.md
Expand Up @@ -616,10 +616,19 @@ If you aren't using the CLI, you should add your polyfill scripts directly to th
<!-- pre-zone polyfills -->
<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/web-animations-js/web-animations.min.js"></script>
<script>
/**
* you can configure some zone flags which can disable zone interception for some
* asynchronous activities to improve startup performance - use these options only
* if you know what you are doing as it could result in hard to trace down bugs..
*/
// __Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// __Zone_disable_on_property = true; // disable patch onProperty such as onclick
// __zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
</script>

<!-- zone.js required by Angular -->
<script src="node_modules/zone.js/dist/zone.js"></script>

<!-- application polyfills -->
</code-example>

0 comments on commit f4ed8f4

Please sign in to comment.