-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add optional JSX-Support while keeping original behaviour the default #57
Open
allesklarbeidir
wants to merge
9
commits into
estools:master
Choose a base branch
from
allesklarbeidir:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jun 12, 2017
-
Outsourced the module-creator function
Outsourced the module-creator function and added the estraverse-module as parameter so that we can use a different version as drop-in replacement.
Configuration menu - View commit details
-
Copy full SHA for ccb35cd - Browse repository at this point
Copy the full SHA ccb35cdView commit details -
Default script uses "normal" estraverse-module
Changed default entry-point script so that its behaviour does not change in respect to the original esquery-module. Only change here is that it now calls the outsourced esquery module-creator function - but with the standard estraverse module as parameter.
Configuration menu - View commit details
-
Copy full SHA for 5af24b2 - Browse repository at this point
Copy the full SHA 5af24b2View commit details -
Optional init-script for JSX-Support
require("esquery/jsx") now loads this script which creates the module with the estraverse-fb module instead of the original one. This adds support for JSX-Nodes in a "plug-in" way because estraverse-fb also just extends the estraverse module and this way the most up to date estraverse module can always be used.
Configuration menu - View commit details
-
Copy full SHA for 8a21ecf - Browse repository at this point
Copy the full SHA 8a21ecfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57d50fe - Browse repository at this point
Copy the full SHA 57d50feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 770ba3e - Browse repository at this point
Copy the full SHA 770ba3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ce547 - Browse repository at this point
Copy the full SHA f5ce547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5296cc3 - Browse repository at this point
Copy the full SHA 5296cc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for adb9545 - Browse repository at this point
Copy the full SHA adb9545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11c7e6f - Browse repository at this point
Copy the full SHA 11c7e6fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.