forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(platform-server): remove inlined JSAction script when no eve…
…nts to replay JSAction script is inlined into the HTML by the build process to avoid extra blocking request. The script looks like this: ``` <script type="text/javascript" id="ng-event-dispatch-contract">...</script> ``` This commit updates the logic to remove JSAction if event replay feature is disabled or if there are no events to replay.
- Loading branch information
1 parent
b1dffa4
commit 008be53
Showing
2 changed files
with
104 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters