jden
479c3e477a
process glob matching in babel-cli (windows compat)
2015-04-30 10:57:48 -07:00
Sebastian McKenzie
2c3d3d8105
DRY up plugin manager position definition
2015-04-30 18:13:33 +01:00
Sebastian McKenzie
ea03f67505
use a strict regex when splitting string plugins - fixes #1361
2015-04-30 18:13:17 +01:00
Sebastian McKenzie
ee0c88a070
clean up plugin manager constructor and add some basic plugin manager tests
2015-04-30 18:06:15 +01:00
Sebastian McKenzie
98206df864
fix retainLines for comments and block statements - fixes #1388
2015-04-30 17:43:31 +01:00
Sebastian McKenzie
1066a42fb2
fix weird path context state by clearing the context before we visit it
2015-04-30 17:19:27 +01:00
Sebastian McKenzie
062175586c
add parens around LHS object patterns
2015-04-30 17:18:36 +01:00
Sebastian McKenzie
0dc6b582a6
Merge pull request #1385 from monsanto/fix-var-checker
...
fix reference check for shorthand properties
2015-04-30 16:43:36 +01:00
Sebastian McKenzie
d8d70ba137
Merge pull request #1388 from amasad/master
...
Add failing test for printing block line comments with retainLines option
2015-04-30 16:42:55 +01:00
Sebastian McKenzie
f23c916520
make function name inferrence smarter - fixes #1367
2015-04-30 16:41:25 +01:00
Sebastian McKenzie
8ae4601177
rename insertOntoContainerStart to unshiftContainer
2015-04-30 14:33:54 +01:00
Sebastian McKenzie
9a466d3ef9
add optimisation.flow.forOf internal usage
2015-04-30 14:31:52 +01:00
Sebastian McKenzie
713845d14c
add Terminatorless alias key for node expression wrappers that don't accept new lines
2015-04-30 13:56:42 +01:00
Sebastian McKenzie
471d60e5cd
Merge branch 'master' of github.com:babel/babel
2015-04-30 13:53:58 +01:00
Sebastian McKenzie
43864e0686
Merge pull request #1390 from amasad/retainLines-return
...
Parenthesize statement argument when on a different line
2015-04-30 13:53:52 +01:00
Amjad Masad
4c2ae5dd19
Parenthesize statement argument when on a different line
2015-04-30 05:43:08 -07:00
Amjad Masad
a540cbe801
Failing test with return not on the same line as it's expression
...
Note that this is not a parenthesis issue but this was the easiest way
to reproduce it. I ran into it when testing generators with `retainLines`
and the generated `return` statement (replacing yeild) was printed on
the line preceding the expression being yielded.
2015-04-30 05:06:56 -07:00
Amjad Masad
34cc577fa2
Add failing test for printing block line comments with retainLines option
2015-04-30 04:37:45 -07:00
Sebastian McKenzie
c855b55133
add additional comment test to comment statement with retainlines option generation test
2015-04-29 23:58:36 +01:00
Sebastian McKenzie
16c86c25b7
properly catch up to comments position - fixes #1384
2015-04-29 23:57:43 +01:00
Sebastian McKenzie
4345f7945b
Merge pull request #1377 from Mark-Simulacrum/issue-1376
...
Allow passing an array of globs to "only" option.
2015-04-29 23:39:17 +01:00
Christopher Monsanto
f44c93add2
fix reference check for shorthand properties
2015-04-29 17:56:36 -04:00
Sebastian McKenzie
09e45c51a4
Merge pull request #1384 from amasad/master
...
Add failing test for printing comments with retainLines option
2015-04-29 22:44:03 +01:00
Amjad Masad
1a42b72b15
Add failing test for printing comments with retainLines option
2015-04-29 14:40:23 -07:00
Sebastian McKenzie
d30415d74a
update es6.spec.symbols instanceof test to reflect Function.prototype[@@hasInstance] being nonwritable #1364
2015-04-29 21:20:35 +01:00
Sebastian McKenzie
616ef8d840
make jscript transformer more trigger happy - #1382
2015-04-29 12:03:15 +01:00
Sebastian McKenzie
56437f94bc
Merge pull request #1382 from kondi/jscript
...
add optional jscript transformer for basic IE8 compatibility (fixes #1369 )
2015-04-29 11:59:32 +01:00
Pusztai Tibor
881fa6430b
add optional jscript transformer for basic IE8 compatibility ( fixes #1369 )
2015-04-29 12:36:12 +02:00
Sebastian McKenzie
b7971690f3
add additional comments to path class, really need to go and fill in all the dummy jsdoc descriptions...
2015-04-29 01:19:56 +01:00
Sebastian McKenzie
c01d0abbd3
add insertOntoContainerStart and insertOntoContainerEnd methods
2015-04-29 01:13:35 +01:00
Sebastian McKenzie
7043119346
fix PluginManager
2015-04-29 01:13:23 +01:00
Mark-Simulacrum
b5325df57f
Allow passing an array of globs to "only" option.
2015-04-28 17:59:20 -06:00
Sebastian McKenzie
0fc958e0fc
remove useless force parameter in Buffer#_newline
2015-04-29 00:22:10 +01:00
Sebastian McKenzie
9cb16711dd
abstract plugin initialisation to a plugin manager
2015-04-29 00:20:49 +01:00
Sebastian McKenzie
04766b13f5
add retainLines code generator option
2015-04-29 00:20:35 +01:00
Sebastian McKenzie
433d704739
add null check to interop-require-wildcard helper
2015-04-28 16:56:57 +01:00
Sebastian McKenzie
30204d2ee6
disable sudo travis config option, it breaks the build since it's using a cached node_modules which has old major versions of dependencies, ugh
2015-04-28 16:31:00 +01:00
Sebastian McKenzie
374b7cca2c
update interop-require-wildcard helper
2015-04-28 15:58:37 +01:00
Sebastian McKenzie
152ae388f0
remove excessive newline
2015-04-28 15:32:16 +01:00
Sebastian McKenzie
04344026bb
remove typeof object check for interop-require-wildcard helper
2015-04-28 15:32:09 +01:00
Sebastian McKenzie
cfffaf6cdb
upgrade to babel 5
2015-04-28 14:55:28 +01:00
Sebastian McKenzie
2952d94e60
wrap instanceof to support @@hasInstance - fixes #1364
2015-04-28 14:27:30 +01:00
Sebastian McKenzie
0276c3ae81
visit decorators key for ClassProperty nodes
2015-04-28 00:05:10 +01:00
Sebastian McKenzie
c00f8dce3f
add make build to makefile and elaborate on build steps in CONTRIBUTING - #1357 .
2015-04-27 03:16:39 +01:00
Sebastian McKenzie
4e24ae39cf
Merge branch 'master' of github.com:babel/babel
2015-04-27 03:06:23 +01:00
Sebastian McKenzie
12bd6494b7
use class ref instead of class name when adding class super native constructor call - fixes #1358
2015-04-27 03:06:13 +01:00
Sebastian McKenzie
e35c7550fe
Merge pull request #1356 from monsanto/clean-build
...
remove lib/ before building
2015-04-27 02:32:53 +01:00
Christopher Monsanto
e7046abe72
remove lib/ before building
2015-04-26 21:12:50 -04:00
Sebastian McKenzie
affa7f0c6f
Merge pull request #1352 from monsanto/descriptor-initalizer
...
call descriptor.initializer with `target` as `this`
2015-04-26 21:17:50 +01:00
Sebastian McKenzie
be650ffc61
call decorator initializers with the proper context - #1350 - thanks @monsanto
2015-04-26 21:17:15 +01:00