Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage withing prerendered SPA #1438

Merged
merged 1 commit into from
Jul 29, 2018

Conversation

GrimaceOfDespair
Copy link
Contributor

Make sure not to crash on the absence of a window object

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?
Using ngx-datatable in the context of a prerendered application crashes as described in #1396

What is the new behavior?
ngx-datatable can be used in a prerendered application without crashing.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

Other information:

Make sure not to crash on the absence of a window object
@JonnyBGod
Copy link

Can this be merged and released soon?

@ghost
Copy link

ghost commented Jun 26, 2018

@marjan-georgiev Really need this

@jsdream
Copy link

jsdream commented Jul 29, 2018

@marjan-georgiev Are there any stoppers to merge this?

@marjan-georgiev marjan-georgiev merged commit 261b438 into swimlane:master Jul 29, 2018
@marjan-georgiev
Copy link
Member

No, looks good. Thanks for the contribution @GrimaceOfDespair
Will be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants