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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils - memoize, calculateTextDimensions (and friends), assignWithDepth, etc #1519

Merged
merged 2 commits into from Jul 2, 2020

Commits on Jul 1, 2020

  1. Merge pull request #1 from mermaid-js/develop

    Merge upstream
    cmmoran committed Jul 1, 2020
    Copy the full SHA
    19519ac View commit details
    Browse the repository at this point in the history
  2. utils refactor

    - memoize to poor-man-cache properly-ish
    - wrapLabel, calculateTextDimensions (and friends) moved to utils for all to enjoy
    - drawSimpleText getTextObj moved to utils to support the functions listed above
    - assignWithDepth - Object.assign but depth-ier
    - random - for crypto random numbers
    cmmoran committed Jul 1, 2020
    Copy the full SHA
    1c3c2b6 View commit details
    Browse the repository at this point in the history