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

previewCitationCluster => previewCluster #141

Merged
merged 5 commits into from
Dec 5, 2021
Merged

Conversation

cormacrelf
Copy link
Collaborator

@cormacrelf cormacrelf commented Dec 1, 2021

Fixes #119

The overall effect of these commits is to

  1. Deprecate previewCitationCluster (using the @deprecated JSDoc tag, so TypeScript editors should pick this up and show a warning on use)
  2. Add a previewCluster that changes the first argument to use an id-less Cluster object, on which you can put a cluster mode, and any future cluster options.
  3. Makes the format argument optional, because recent wasm-bindgen can do this.
  4. Document and test the new stuff, and the deprecated version

@cormacrelf cormacrelf added A-wasm Area: wasm package on npm enhancement New feature or request labels Dec 1, 2021
@cormacrelf cormacrelf merged commit f181977 into master Dec 5, 2021
@cormacrelf cormacrelf deleted the previewCluster branch December 5, 2021 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-wasm Area: wasm package on npm enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

Add a way to specify the ClusterMode of a previewed cluster
1 participant