Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codemirror/codemirror5
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: lgrammel/CodeMirror
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Dec 5, 2020

  1. Use Spread Syntax (...) instead of '.apply'

    **The spread syntax (`...`) allows iterables like array expressions to be expanded in place where arguments are expected.** It can used in place of `.apply`. For example `Math.min.apply(Math, args)` can be replaced with `Math.min(...args)`.
    
    Only `.apply` calls are converted to the spread syntax `...`.
    P42 committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    5bc3267 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from lgrammel/p42-dev/bc178520-48e4-4573-9dc7-c…

    …0f1abc8b6b4
    
    Use Spread Syntax (...) instead of '.apply'
    lgrammel authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    16c45ac View commit details
    Browse the repository at this point in the history
Loading