Shuaibird Hwang
4d51052037
FIX access to the prototype of an instance ( #6005 )
...
The right way access to the prototype of an instance is using the `__proto__` rather than the `prototype`.
2017-07-24 21:46:38 -04:00
Marcus Cavanaugh
fe13ba8fc2
Remove unused functions from renamer.js. ( #5965 )
2017-07-20 11:19:10 -04:00
Brian Ng
81e87b0838
Remove codecov node package and use bash uploader ( #5938 )
...
* Remove codecov node package and use bash uploader
* test
2017-07-11 21:32:48 -04:00
Jeffrey Wear
72183ff2e9
Clarify use of bind operator in "prefix position" ( #5917 )
...
The REPL [shows](https://babeljs.io/repl/#?babili=false&evaluate=false&lineWrap=true&presets=es2015%2Creact%2Cstage-0&targets=&browsers=&builtIns=false&debug=false&code_lz=PYIwVgXBBmCuB2BjA3AKAPToAQEsDOWApgI6w4BuAhgDaHwAuW9wEqcSAdCDvACYAUoMAEo0qKEI7sUGbPiKkKNOo2atJ0rjwFDRqVEKjT-Vansy4CJMqZVMWbBIg6Ia1QeAA0WU3vEQNJxMaczkrRVsGe1ZNV2p3IW9fZCA )
that when the bind operator prefixes `obj.func` (as opposed to being used
between `obj` and `func`), rather than binding a free function `func` to `obj`,
it binds `obj.func` to `obj`.
[skip ci]
2017-07-04 16:21:39 -07:00
Jim Nielsen
9ad660bbe1
Swap github/twitter links ( #5895 ) [skip ci]
2017-06-28 14:51:23 -04:00
Henry Zhu
48c770e4bb
Force color output in test runs to ensure consistent behavior in Travis
2017-06-27 17:48:56 -04:00
Josh Johnston
3cf4cee40a
Fix 5768 ( #5811 )
...
* Fix destructured exports
- adds a failing test based on description in #5768
- handles ObjectPattern and ArrayPattern
* use export assignment template
2017-06-27 17:31:47 -04:00
Justin Ridgewell
64eafad472
Merge pull request #5469 from yavorsky/fix-commonjs-destructuring
...
Fix commonjs exports with destructuring.
2017-06-21 16:41:55 -04:00
Danny Andrews
3b28bd2cb1
[skip ci] Fix typos in README.md ( #5857 )
2017-06-14 09:49:41 -05:00
Konstantin Pschera
fea3a72838
Fix babel-plugin-transform-regenerator README ( #5852 )
2017-06-13 09:19:36 -05:00
Hasan Bayat
1b29ab1289
Adding documentation and information ( #5717 ) [skip ci]
2017-06-09 11:24:20 -04:00
Alex Rattray
dd82d7a653
Document babel-helper-plugin-test-runner usage ( #5843 ) [skip ci]
...
* Document `babel-helper-plugin-test-runner` usage
* [skip ci]
2017-06-09 10:35:53 -04:00
Justin Ridgewell
489cf90d23
Merge pull request #5796 from noinkling/add-inspect-brk-option
...
Allow --inspect-brk option to be used with babel-node [6.x backport]
2017-05-31 03:20:41 -04:00
noinkling
0230dc5067
Allow --inspect-brk option to be used with babel-node
2017-05-31 14:14:58 +12:00
Peeyush Kushwaha
dcbb6c5ce5
Add a section on troubleshooting [skip ci] ( #5788 )
...
* Add a section on troubleshooting [skip ci]
* Move troubleshooting section to be under the running tests section
* [skip ci]
2017-05-29 11:20:13 -04:00
Henry Zhu
51f3ab45c4
[skip ci]
2017-05-25 12:54:06 -04:00
Justin Ridgewell
5b261849e0
Merge pull request #5755 from u9lyfish/patch-1
...
Fix broken tables in README.md
2017-05-20 16:57:53 -04:00
u9lyfish@gmail.com
58c686378d
Fix broken tables in README.md
2017-05-20 23:44:51 +08:00
Brian Ng
9a92933589
Fix incorrect property ordering with obj rest spread on nested ( #5750 )
2017-05-20 09:08:23 -04:00
Justin Ridgewell
5f866f2d92
Hoist toSequenceExpression's convert helper ( #5693 )
...
* Hoist toSequenceExpression's convert helper
* Adds tests
* lint
* dev-depend on babel-generator
2017-05-19 17:03:33 -04:00
ssuman
412180e203
Increase the code coverage for traverse evaluation ( #5363 )
...
* When applied this commit will increase the code coverage for evaluation.js
* Fixing linting issues
2017-04-09 16:49:37 -07:00
Brian Ng
11b7db05fb
Merge pull request #5613 from babel/backport-doc-changes
...
Backport doc changes
2017-04-08 09:08:47 -05:00
Sven SAULEAU
ca435b6d48
Improve options documentation for babel-plugin-transform-runtime #5401
2017-04-08 10:18:44 +02:00
Sven SAULEAU
982aba38e4
[doc] Fix: comments in usage w/ options #5400
2017-04-08 10:18:01 +02:00
Sven SAULEAU
c1b3740707
document cache option for babel-register #5440
2017-04-08 10:16:55 +02:00
Sven SAULEAU
e9bc213b14
Update coffescript/register reference link address #5475
2017-04-08 10:15:43 +02:00
Sven SAULEAU
e2c2d7d742
Update babel-generator's README #5517
2017-04-08 10:14:56 +02:00
Sven SAULEAU
2cb4d08d19
Improve example of babel-plugin-transform-es2015-arrow-functions #5573
2017-04-08 10:14:19 +02:00
Sven SAULEAU
149acc40bd
Remove incorrect docs. #5580
2017-04-08 10:13:47 +02:00
Sven SAULEAU
d40cb31685
Update transform-es2015-modules-commonjs doc #5588
2017-04-08 10:13:20 +02:00
MrSpider
fd3a2c285a
Fix replacing function declaration in export default ( fixes #4468 ) ( #5456 )
2017-04-06 11:40:31 -04:00
Felix Yan
9b4c33d44e
Fix a typo: occurences -> occurrences ( #5575 )
2017-04-03 22:38:12 -07:00
Artem Yavorsky
f2f226b4f2
Add syntax-object-rest-spread as devDep for tests.
2017-03-23 00:52:10 +02:00
Artem Yavorsky
ddfb6f2c44
Remove object-rest-spread syntax.
2017-03-23 00:33:03 +02:00
Henry Zhu
b3c7337fac
Fix changelog [skip ci]
2017-03-19 14:14:00 +01:00
Artem Yavorsky
70354013f1
Fix visitor inheritance.
2017-03-19 14:46:59 +02:00
Artem Yavorsky
c42e027602
Add object rest spread syntax using plugin.
2017-03-19 14:02:01 +02:00
Diogo Franco
256fcbc58f
Treat "await" as an invalid identifier ( #4954 )
...
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.
Fixes #4952 .
2017-03-19 11:28:52 +09:00
Artem Yavorsky
18d6ba9947
Fix export array rest expected output.
2017-03-19 01:18:22 +02:00
Artem Yavorsky
c82b084927
Fix object rest params for exports.
2017-03-19 00:32:27 +02:00
Artem Yavorsky
45b41740d8
Consider default params for object pattern.
2017-03-18 16:26:22 +02:00
Artem Yavorsky
b608e28aa7
Consider rest params for array pattern in exports.
2017-03-18 16:02:06 +02:00
Artem Yavorsky
06f67e1ad3
Consider default parameters for array pattern.
2017-03-18 15:42:39 +02:00
Artem Yavorsky
b5bb89b30a
Add array pattern to exports destructuring.
2017-03-18 15:12:46 +02:00
Ryan Paul
8859715893
Removes unused lodash dependency from babel-helper-builder-react-jsx ( #5486 )
2017-03-16 16:17:37 -04:00
Sven SAULEAU
ad1edc6155
Merge pull request #5477 from xtuc/fix-generator-doc
...
Update babel-generator documentation
2017-03-16 08:56:08 +01:00
Sven SAULEAU
e30197b96b
docs: [skip ci] update documentation
2017-03-16 08:53:38 +01:00
Artem Yavorsky
0c2e3b1045
Remove exports definition.
2017-03-15 16:02:21 +02:00
Artem Yavorsky
9b410be61c
Add test for exports destructuring.
2017-03-15 15:37:17 +02:00
Artem Yavorsky
f81d7496b1
Fix exports while destructuring.
2017-03-15 15:35:45 +02:00