angular-cn/packages/compiler-cli/integrationtest/test
Vikram Subramanian 2f2d5f35bd feat(platform-server): provide a DOM implementation on the server
Fixes #14638

Uses Domino - https://github.com/fgnass/domino and removes dependency on
Parse5.

The DOCUMENT and nativeElement were never typed earlier and were
different on the browser(DOM nodes) and the server(Parse5 nodes). With
this change, platform-server also exposes a DOCUMENT and nativeElement
that is closer to the client. If you were relying on nativeElement on
the server, you would have to change your code to use the DOM API now
instead of Parse5 AST API.

Removes the need to add services for each and every Document
manipulation like Title/Meta etc.

This does *not* provide a global variable 'document' or 'window' on the
server. You still have to inject DOCUMENT to get the document backing
the current platform server instance.
2017-08-30 17:46:16 -07:00
..
all_spec.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00
animate_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
basic_spec.ts feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
entry_components_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
i18n_spec.ts fix(compiler-cli): don't generate empty <target/> when extracting xliff 2017-07-19 09:45:52 -07:00
init.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
jit_summaries_spec.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00
ng_module_spec.ts feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
projection_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
query_spec.ts fix(compiler): generated code should pass `noUnusedLocals` check 2017-03-14 19:52:53 -07:00
source_map_spec.ts refactor(compiler-cli): use the transformer based compiler by default 2017-08-10 20:30:40 -07:00
test_ngtools_api.ts feat(compiler-cli): new compiler api and command-line using TypeScript transformers 2017-06-23 16:18:44 -07:00
test_summaries.ts fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
util.ts feat: add .ngsummary.ts files to support AOT unit tests 2017-05-05 13:23:53 -04:00