Skip to content

Commit

Permalink
fix: make universal rendering work without any hacks
Browse files Browse the repository at this point in the history
Fixes #1211
  • Loading branch information
mattlewis92 committed Apr 12, 2020
1 parent 0e9e8d1 commit 40de98d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 29 deletions.
6 changes: 1 addition & 5 deletions README.md
Expand Up @@ -108,11 +108,7 @@ Where possible this library will strictly adhere to [semver](http://semver.org/)

### Is this library AoT and universal compatible?

Yes. For universal to work though, you will need to add this near the top of your `server.ts` file:

```ts
global['window'] = {};
```
Yes.

### What major versions of angular does this library support?

Expand Down
40 changes: 17 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -156,7 +156,7 @@
"@angular/core": ">=6.0.0 <10.0.0"
},
"dependencies": {
"angular-draggable-droppable": "^4.3.10",
"angular-draggable-droppable": "^4.3.12",
"angular-resizable-element": "^3.3.0",
"calendar-utils": "^0.7.0",
"positioning": "^2.0.1"
Expand Down

0 comments on commit 40de98d

Please sign in to comment.