angular-cn/tools/cjs-jasmine
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
..
index-tools.ts fix(tsc-wrapped): make `test.sh tools` run the tsc-wrapped tests again (#18683) 2017-08-16 17:58:44 -05:00
index.ts feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
test-cjs-main.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00