Sebastian McKenzie
f4b9faa6b3
clean up module declaration based UID generation - fixes #1437
2015-05-04 22:36:18 +01:00
Sebastian McKenzie
c1a6ff7f44
rename getModuleName option to getModuleId
2015-05-04 22:31:34 +01:00
Sebastian McKenzie
2c0c2f12df
avoid trying to replace a node with itself, antipattern!
2015-05-04 22:20:52 +01:00
Jay Phelps
340e75eb59
Added getModuleName() option as a function, allowing you to manipulate the name as needed
2015-05-04 13:30:57 -07:00
Sebastian McKenzie
53808a6d45
fix test/core/path imports
2015-05-04 15:25:35 +01:00
Sebastian McKenzie
9e0cf84505
adds test for #1431
2015-05-04 15:06:27 +01:00
Sebastian McKenzie
b8b70f2f4a
rejigger around parse mechanics
2015-05-04 03:57:28 +01:00
Sebastian McKenzie
3878bd812c
remove native super inheritance from classes - fixes #1424
2015-05-03 23:45:26 +01:00
Sebastian McKenzie
102cbbe493
fix up crazy parse argument order
2015-05-03 23:31:37 +01:00
Sebastian McKenzie
4be27ee72c
update bin tests to reflect new helper format
2015-05-03 17:47:31 +01:00
Sebastian McKenzie
ce8beec22c
update tests to reflect new helper format
2015-05-03 17:28:32 +01:00
Sebastian McKenzie
90a1c81d30
split up es3.xLiterals transformers - fixes #1415
2015-05-01 23:13:30 +01:00
Sebastian McKenzie
c28415c38a
handle shorthand objects properly when renaming bindings, create new ones and refresh the stored binding identifier if necessary - fixes #1406
2015-05-01 15:23:46 +01:00
Sebastian McKenzie
e9bcccffbd
futz the bundler idea
2015-05-01 03:26:12 +01:00
Sebastian McKenzie
aaf4cbf06f
start on babel module bundling and type inferrence
2015-05-01 02:59:59 +01:00
Sebastian McKenzie
d9169a87ad
allow util.arrayify to take arbitrary types and coerce it into an array - #1398
2015-05-01 00:41:47 +01:00
Sebastian McKenzie
d26e7ad577
fix no RHS in class properties causing undefined to be used instead of a noop - fixes #1396
2015-04-30 23:09:17 +01:00
Sebastian McKenzie
c12e8122f8
fix browser tests
2015-04-30 20:11:32 +01:00
Sebastian McKenzie
92e7a01d14
remove regenerator and test262 git submodule and tests - closes #1393
2015-04-30 20:03:34 +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
1066a42fb2
fix weird path context state by clearing the context before we visit it
2015-04-30 17:19:27 +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
471d60e5cd
Merge branch 'master' of github.com:babel/babel
2015-04-30 13:53:58 +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
Christopher Monsanto
f44c93add2
fix reference check for shorthand properties
2015-04-29 17:56:36 -04: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
Pusztai Tibor
881fa6430b
add optional jscript transformer for basic IE8 compatibility ( fixes #1369 )
2015-04-29 12:36:12 +02:00
Sebastian McKenzie
374b7cca2c
update interop-require-wildcard helper
2015-04-28 15:58:37 +01:00
Sebastian McKenzie
2952d94e60
wrap instanceof to support @@hasInstance - fixes #1364
2015-04-28 14:27:30 +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
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
deed48a3db
fix decorator interop - fixes #1277
2015-04-25 18:18:30 +01:00
Sebastian McKenzie
00c0a958db
fix runtime tests to reflect core-js 0.9.0
2015-04-25 18:08:00 +01:00
Sebastian McKenzie
fd30eb1839
Merge branch 'master' of github.com:babel/babel
2015-04-24 19:28:58 +01:00
Sebastian McKenzie
63344eb0a4
only skip traversal of immutable JSX elements in the optimisation.react.constantElements transformer when we've actually hoisted them - closes #1344
2015-04-24 19:28:51 +01:00
Sebastian McKenzie
cdca4e50d9
Merge pull request #1333 from isojs/fix-rimraf-tmp
...
Fix test temporary dir cleanup
2015-04-24 11:31:09 +01:00
Sebastian McKenzie
a36c1b4a92
rewrite this in shadowed functions inside native derived class constructors - fixes #1340
2015-04-24 11:20:29 +01:00
George Stagas
b760daca21
fix test tmp dir cleanup
2015-04-23 21:27:14 +03:00
Sebastian McKenzie
74f04ed6a1
clean up interop require
2015-04-22 00:14:55 +01:00
Sebastian McKenzie
74d880bf18
Merge pull request #1317 from jeffmo/copy_static_props_on_foreign_export_objs
...
Copy statics from foreign exports objects when doing an ES6 import
2015-04-21 22:44:52 +01:00
jeffmo
5ce38cacaa
Copy statics off of foreign exports objects when doing an ES6 import
2015-04-21 12:17:43 -04:00
Sebastian McKenzie
f6278e43ce
properly handle shorthand JSX attributes in optimisation.react.inlineElements transformer - fixes #1309
2015-04-21 16:14:36 +01:00