-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[CS2] Destructuring #4478
[CS2] Destructuring #4478
Commits on Mar 30, 2017
-
Output simple array destructuring assignments to ES2015
Chris Connelly committedMar 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 59959a6 - Browse repository at this point
Copy the full SHA 59959a6View commit details -
Output simple object destructured assignments to ES2015
Chris Connelly committedMar 30, 2017 Configuration menu - View commit details
-
Copy full SHA for b9f8f5d - Browse repository at this point
Copy the full SHA b9f8f5dView commit details -
Compile shorthand object properties to ES2015 shorthand properties
This dramatically improves the appearance of destructured imports.
Chris Connelly committedMar 30, 2017 Configuration menu - View commit details
-
Copy full SHA for 066071f - Browse repository at this point
Copy the full SHA 066071fView commit details
Commits on Apr 1, 2017
-
Compile default values in destructured assignment to ES2015
Chris Connelly committedApr 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 2e0dab3 - Browse repository at this point
Copy the full SHA 2e0dab3View commit details
Commits on Apr 2, 2017
-
Rename
wrapInBraces
towrapInParentheses
, and `compilePatternMatc……h` to `compileDestructuring`, for clarity; style improvements (no `==` or `!=`, etc.)
Configuration menu - View commit details
-
Copy full SHA for a196614 - Browse repository at this point
Copy the full SHA a196614View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11ba7f - Browse repository at this point
Copy the full SHA b11ba7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f7279 - Browse repository at this point
Copy the full SHA c5f7279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c8f8e - Browse repository at this point
Copy the full SHA 93c8f8eView commit details -
Optional check for existence that only checks
!== undefined
, not `!……= null`, to follow ES convention that default values only apply when a variable is undefined, not falsy
Configuration menu - View commit details
-
Copy full SHA for 8840aa9 - Browse repository at this point
Copy the full SHA 8840aa9View commit details -
The fallback destructuring code should apply default values only if `…
…undefined`, not falsy, to follow ES spec
Configuration menu - View commit details
-
Copy full SHA for 7786899 - Browse repository at this point
Copy the full SHA 7786899View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6d910 - Browse repository at this point
Copy the full SHA 1e6d910View commit details -
Support destructuring in function parameters (first pass); catch dest…
…ructured reserved words
Configuration menu - View commit details
-
Copy full SHA for 6c814a0 - Browse repository at this point
Copy the full SHA 6c814a0View commit details -
Destructured variables in function parameter lists shouldn’t be added…
… to the function body with `var` declarations; treat splat array function parameters the legacy way to avoid rethinking jashkenas#4005
Configuration menu - View commit details
-
Copy full SHA for 5fc4e19 - Browse repository at this point
Copy the full SHA 5fc4e19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770ddcd - Browse repository at this point
Copy the full SHA 770ddcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d110b9a - Browse repository at this point
Copy the full SHA d110b9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 678e931 - Browse repository at this point
Copy the full SHA 678e931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f046e - Browse repository at this point
Copy the full SHA 60f046eView commit details -
Obj::isAssignable
should not mutate; passlhs
property in from `A……ssign` or `Code` to child arrays and objects so that those child nodes are set as allowable for destructuring
Configuration menu - View commit details
-
Copy full SHA for 05c1f46 - Browse repository at this point
Copy the full SHA 05c1f46View commit details
Commits on Apr 3, 2017
-
Merge branch '2' into destructuring
# Conflicts: # lib/coffeescript/lexer.js
Configuration menu - View commit details
-
Copy full SHA for 923b931 - Browse repository at this point
Copy the full SHA 923b931View commit details
Commits on Apr 5, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bd8cf29 - Browse repository at this point
Copy the full SHA bd8cf29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e81fa0 - Browse repository at this point
Copy the full SHA 7e81fa0View commit details