angular/packages/platform-server/src
Andrew Kushnir ba0036c5c3 refactor(platform-server): remove inlined JSAction script when no events to replay (#55428)
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.

PR Close #55428
2024-04-22 11:36:21 -07:00
..
bundled-domino.d.ts fix(platform-server): bundle @angular/domino in via esbuild (#49229) 2023-02-28 13:34:50 -08:00
domino_adapter.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
http.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
location.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
platform-server.ts refactor(platform-server): remove deprecated platformDynamicServer API (#54874) 2024-03-18 16:37:06 -07:00
platform_state.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
provide_server.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
server.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
server_events.ts feat(platform-browser): expose EventManagerPlugin in the public API. (#49969) 2023-08-29 16:40:06 +00:00
tokens.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
transfer_state.ts feat(core): Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356) 2024-04-19 13:12:21 -07:00
types.d.ts refactor(platform-server): import xhr2 dynamically in the ServerXhr class (#50095) 2023-05-08 14:32:43 -07:00
utils.ts refactor(platform-server): remove inlined JSAction script when no events to replay (#55428) 2024-04-22 11:36:21 -07:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00