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 for release build where the operators are treeshaken away. #511

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

gerhardboer
Copy link
Contributor

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? (You can also link to an open issue here)
When using the released build and clicking the Datatable headers, there are javascript errors saying the 'do'-operator is not a function on observables.

Was introduced with my previous performance change, sorry!

What is the new behavior?
There is no exception when a user clicks the header.

I've removed the 'do' operator, and added an import to the takeUntil operator to be sure release builds will have the right operators imported

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

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@gerhardboer
Copy link
Contributor Author

@amcdnl
At the moment the 6.1.0 release is broken by one of my earlier commits.
I hope you're able to accept this pull-request quickly to fix the problem.

Sorry for introducing it in the first place!

@amcdnl amcdnl merged commit 94499c3 into swimlane:master Feb 13, 2017
rsparrow pushed a commit to rsparrow/ngx-datatable that referenced this pull request Jun 2, 2017
…tors

Fix for release build where the operators are treeshaken away.
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.

2 participants