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
Sebastian McKenzie
3078d48178
don't rely on sequence expressions for <= 1 sequence expressions in blockScoping transformer
2015-04-26 21:15:30 +01:00
Sebastian McKenzie
0be93563dd
fix spec.blockScopedFunctions shouldVisit method
2015-04-26 21:15:08 +01:00
Christopher Monsanto
3e55980145
call descriptor.initializer with target as this
2015-04-26 16:11:11 -04:00
Sebastian McKenzie
470ebf3a46
various random optimisations
2015-04-26 21:04:06 +01:00
Sebastian McKenzie
b695369126
add babel brand to code gen deopt message
2015-04-26 21:03:54 +01:00
Sebastian McKenzie
f4611469b4
remove declarations transformer and instead do it whenever we push a generated declaration, better for perf and removes shitty bugs - fixes #1268
2015-04-26 15:46:06 +01:00
Sebastian McKenzie
68bfafe745
add missing ast-types definitions
2015-04-26 05:26:29 +01:00
Sebastian McKenzie
f72782b71c
remove transformer prepass and various other optimisations
2015-04-26 05:26:21 +01:00
Sebastian McKenzie
0f1f5e3565
implement path-specific transformer skipping via the starting prepass
2015-04-26 02:42:15 +01:00
Sebastian McKenzie
dfe126f3d4
verify traversal visitors
2015-04-25 22:49:54 +01:00
Sebastian McKenzie
4c9cb957a9
5.1.13
2015-04-25 22:46:01 +01:00
Sebastian McKenzie
8f997f8825
v5.1.13
v5.1.13
2015-04-25 18:32:53 +01:00
Sebastian McKenzie
d789a6e7aa
remove symbol check from defineProperty helper #1348
2015-04-25 18:31:29 +01:00
Sebastian McKenzie
4007148d9f
5.1.12
2015-04-25 18:23:16 +01:00
Sebastian McKenzie
998f1d544e
v5.1.12
v5.1.12
2015-04-25 18:21:37 +01:00
Sebastian McKenzie
deed48a3db
fix decorator interop - fixes #1277
2015-04-25 18:18:30 +01:00