8000 add custom log scale by trentwatt · Pull Request #98 · hkang1/hermes · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add custom log scale #98

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

Merged
merged 1 commit into from
May 27, 2022
Merged

add custom log scale #98

merged 1 commit into from
May 27, 2022

Conversation

trentwatt
Copy link
Collaborator
@trentwatt trentwatt commented May 18, 2022

Looks like the rest of the code in the calculate method uses logBase as is, but the this.log defaults to natural log unless user supplies logBase of 2 or 10.

also validateDimension allows any number for the logBase, so there is nothing to prevent consumer from supplying other base.

@netlify
Copy link
netlify bot commented May 18, 2022

Deploy Preview for bejewelled-lamington-f97ebd ready!

Name Link
🔨 Latest commit c1b555a
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-lamington-f97ebd/deploys/6284bf9716164a00083aad4c
😎 Deploy Preview https://deploy-preview-98--bejewelled-lamington-f97ebd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Owner
@hkang1 hkang1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice support for custom log scale, thanks for the PR!

@hkang1 hkang1 merged commit 6092772 into hkang1:main May 27, 2022
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
0