angular-cn/packages/platform-server
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
..
integrationtest refactor(compiler): split compiler and core (#18683) 2017-08-16 17:58:53 -05:00
src feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
test feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
testing refactor(compiler): split compiler and core (#18683) 2017-08-16 17:58:53 -05:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json feat(platform-server): provide a DOM implementation on the server 2017-08-30 17:46:16 -07:00
public_api.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
rollup.config.js build: import tslib rather than output TS helpers (#16901) 2017-05-23 14:01:39 -06:00
tsconfig-build.json feat(common): new HttpClient API 2017-07-07 12:09:32 -07:00