Fix some README links [skip ci] (#5045)

This commit is contained in:
Brian Ng 2016-12-27 08:30:14 -06:00 committed by Henry Zhu
parent b2e6926042
commit b1635f8c05
4 changed files with 8 additions and 5 deletions

View File

@ -56,4 +56,4 @@ require("babel-core").transform("code", {
## Note ## Note
This check will only validate consts. If you need it to compile down to `var` then you must also install and enable [`transform-es2015-block-scoping`](../babel-plugin-transform-es2015-block-scoping). This check will only validate consts. If you need it to compile down to `var` then you must also install and enable [`transform-es2015-block-scoping`](http://babeljs.io/docs/plugins/transform-es2015-block-scoping/).

View File

@ -110,7 +110,7 @@ factory(global.fooBAR, global.fooBAR);
because again the transform is only using the basename of the import. because again the transform is only using the basename of the import.
_Second_, the specified override will still be passed to the `toIdentifier` _Second_, the specified override will still be passed to the `toIdentifier`
function in [babel-types/src/converters](../babel-types/src/converters.js). function in [babel-types/src/converters](https://github.com/babel/babel/blob/master/packages/babel-types/src/converters.js).
This means that if you specify an override as a member expression like: This means that if you specify an override as a member expression like:
```json ```json

View File

@ -1,6 +1,6 @@
# babel-plugin-transform-es2015-typeof-symbol # babel-plugin-transform-es2015-typeof-symbol
> ES6 introduces a new native type called [symbols](http://babeljs.io/docs/learn-es6#symbols). This transformer wraps all `typeof` expressions with a method that replicates native behaviour. (ie. returning "symbol" for symbols) > ES6 introduces a new native type called [symbols](https://babeljs.io/learn-es2015/#ecmascript-2015-features-symbols). This transformer wraps all `typeof` expressions with a method that replicates native behaviour. (ie. returning "symbol" for symbols)
## Example ## Example

View File

@ -25,7 +25,8 @@ and `.js` will be transformed by Babel.
<blockquote class="babel-callout babel-callout-info"> <blockquote class="babel-callout babel-callout-info">
<h4>Polyfill not included</h4> <h4>Polyfill not included</h4>
<p> <p>
You must include the <a href="/docs/usage/polyfill">polyfill</a> separately when using features that require it, like generators. You must include the <a href="https://babeljs.io/docs/usage/polyfill/">polyfill</a> separately
when using features that require it, like generators.
</p> </p>
</blockquote> </blockquote>
@ -69,7 +70,9 @@ require("babel-register")({
}); });
``` ```
You can pass in all other [options](/docs/usage/options/#options) as well, including `plugins` and `presets`. But note that the closest [`.babelrc`](/docs/usage/babelrc/) to each file still applies, and takes precedence over any options you pass in here. You can pass in all other [options](https://babeljs.io/docs/usage/api/#options) as well,
including `plugins` and `presets`. But note that the closest [`.babelrc`](https://babeljs.io/docs/usage/babelrc/)
to each file still applies, and takes precedence over any options you pass in here.
## Environment variables ## Environment variables