Skip to content

Commit 40de98d

Browse files
committed
fix: make universal rendering work without any hacks
Fixes #1211
1 parent 0e9e8d1 commit 40de98d

File tree

3 files changed

+19
-29
lines changed

3 files changed

+19
-29
lines changed

README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,7 @@ Where possible this library will strictly adhere to [semver](http://semver.org/)
108108

109109
### Is this library AoT and universal compatible?
110110

111-
Yes. For universal to work though, you will need to add this near the top of your `server.ts` file:
112-
113-
```ts
114-
global['window'] = {};
115-
```
111+
Yes.
116112

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

package-lock.json

+17-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"@angular/core": ">=6.0.0 <10.0.0"
157157
},
158158
"dependencies": {
159-
"angular-draggable-droppable": "^4.3.10",
159+
"angular-draggable-droppable": "^4.3.12",
160160
"angular-resizable-element": "^3.3.0",
161161
"calendar-utils": "^0.7.0",
162162
"positioning": "^2.0.1"

0 commit comments

Comments
 (0)