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

Explain the double negatives a bit better #197

Merged
merged 2 commits into from May 25, 2016
Merged

Explain the double negatives a bit better #197

merged 2 commits into from May 25, 2016

Conversation

jamesgpearce
Copy link
Contributor

The previous version was correct; just needed some clarification I felt.

The previous version was correct; just needed some clarification I felt.
@hzoo
Copy link
Member

hzoo commented May 23, 2016

Good idea

@@ -192,7 +192,7 @@ browserify().transform(babelify, {
});
```

The above example will transform all files except those in the `node_modules` directory that are not in `node_modules/app`.
The above example will result in a transform that also includes the `app` module in `node_modules`: the `global` flag transforma all files, and the `ignore` regular expression then excludes all those in the `node_modules` directory *except* those that are in `node_modules/app`.
Copy link
Member

@hzoo hzoo May 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the transforma typo? I can squash so just edit it again.

If you want you can explain what ! is doing too

@zertosh zertosh merged commit 9944a55 into babel:master May 25, 2016
@zertosh
Copy link
Member

zertosh commented May 25, 2016

Thanks @jamesgpearce!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants