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

Basic Arrow function support + array methods #123

Closed
wants to merge 9 commits into from

Commits on Dec 17, 2020

  1. - Add basic arrow function support: () => expr

    - Allow array methods: [...].method()
    6utt3rfly committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    967d540 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2020

  1. Moved the []. check from gobbleExpression to gobbleToken() so that it…

    … could be used within binary operations
    
    ['a', 'b'].includes(x).length > 2
    6utt3rfly committed Dec 19, 2020
    Configuration menu
    Copy the full SHA
    4f0b52a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2021

  1. Merge branch 'master' into basic-arrow

    # Conflicts:
    #	src/jsep.js
    6utt3rfly committed Mar 24, 2021
    Configuration menu
    Copy the full SHA
    6c1a81f View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Configuration menu
    Copy the full SHA
    7808f67 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Merge branch 'master' into basic-arrow

    # Conflicts:
    #	src/jsep.js
    6utt3rfly committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    0e5b7d6 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. JSEP hooks

    - added optional (plugin) support for arrow-functions, objects, assignments, and 'new'
    6utt3rfly committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    d3e6bdb View commit details
    Browse the repository at this point in the history
  2. - Fix additional_identifier_chars with _

    - Fix omitting second binaryOp if precedence is zero (or not set)
    6utt3rfly committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    e864f77 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2021

  1. - Fix space/tab. Added plugins to lint script

    - renamed and updated hook types. Switched hook api system to support object argument and push vs unshift
    - added ignoreComments plugin
    - added templateLiterals plugin
    -- this required moving the gobbleExpressions() code into a function so it could be reused within the template literal
    6utt3rfly committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    220b031 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a17a8d View commit details
    Browse the repository at this point in the history