Sebastian McKenzie
324a0b408a
add optional protoToAssign transformer
2015-01-04 07:38:36 +11:00
Sebastian McKenzie
8b2788e930
fix es6-property-method-assignment tests name
2015-01-03 21:48:22 +11:00
Sebastian McKenzie
d945379b5b
remove isDynamic checks and always execute those expressions **once**
2015-01-03 21:48:06 +11:00
Sebastian McKenzie
0e9eac610b
rename es5-property-methods-assignment to es6-property-method-assignment and add function ids to object methods and remap them if they contain a reference to themselves - fixes #308
2015-01-03 20:11:00 +11:00
Sebastian McKenzie
1de94a2705
fix code styling on es6 arrow functions nested test
2015-01-03 20:09:14 +11:00
Sebastian McKenzie
340a4dd1f2
fix code styling #370
2015-01-03 07:35:45 +11:00
Hugh Kennedy
5a01beaa1f
Make require("6to5/register") work with browserify
...
Previously, you'd have to create a separate file for using 6to5
with both node and browserify, as the latter wasn't able to properly
handle loading 6to5's dependency tree and would crash on attempting
to do so.
This change instructs browserify to use "register-browser.js" in place
of "register.js". "register-browser.js" still loads the 6to5 polyfill,
but is otherwise ignored.
2015-01-02 21:30:40 +01:00
Sebastian McKenzie
5ec19f23c3
add test skeleton for types and add jsdoc comments to types
2015-01-02 19:20:05 +11:00
Sebastian McKenzie
6e8c73f65f
fix incorrect member expression properties
2015-01-02 16:39:35 +11:00
Sebastian McKenzie
a18177026c
add support for statements in asyncToGenerator and bluebirdCoroutines transformers
2015-01-02 04:58:59 +11:00
Sebastian McKenzie
93ceafc732
better uid names
2015-01-02 03:53:28 +11:00
Sebastian McKenzie
02512da38d
fix generation tests with parenthesized expressions and trailing comments
2015-01-02 02:59:53 +11:00
Sebastian McKenzie
ba67f57c1e
use simple loops always in array comprehensions, support yield inside of array comprehensions - closes #325 , fixes #252
2015-01-02 02:14:36 +11:00
Sebastian McKenzie
b1d1909c64
forced closure on super classes - fixes #339
2015-01-02 01:59:42 +11:00
Sebastian McKenzie
9529f93690
move useStrict transformer to after _moduleFormatter
2015-01-02 01:58:56 +11:00
Sebastian McKenzie
925b1f7600
add optional asyncToGenerator transformer - closes #321
2015-01-02 01:31:14 +11:00
Sebastian McKenzie
40f8bc0a65
add optional bluebird coroutine transformer - @phpnode
2015-01-02 01:20:28 +11:00
Sebastian McKenzie
383912c11b
more reliable t.isExpression
2015-01-02 01:04:04 +11:00
Sebastian McKenzie
e268dc6138
return Object.defineProperties without a closure in property methods assignment unless it's really necessary
2015-01-02 00:42:28 +11:00
Sebastian McKenzie
5b6c0fcacd
add whitespace after array and object expressions
2015-01-02 00:41:58 +11:00
Sebastian McKenzie
41d60a85e9
simplify define property by using a helper in playground object getter memoization
2015-01-02 00:40:47 +11:00
Sebastian McKenzie
800c350db6
use Object.defineProperty on computed properties - fixes #357
2015-01-02 00:40:37 +11:00
Sebastian McKenzie
7b5b8ab6ed
add undefinedToVoid optional transformer
2015-01-02 00:25:17 +11:00
Sebastian McKenzie
52e23473ed
allow export default non-functions mapping to module.exports in common module formatter - fixes #356
2015-01-01 22:58:46 +11:00
Sebastian McKenzie
de427936a6
remove invalid lval super classes in generation tests
2015-01-01 22:38:01 +11:00
Sebastian McKenzie
c408432445
add support for circular references and hoist all variable declarations
2015-01-01 22:30:28 +11:00
Sebastian McKenzie
27e9f9d616
remove invalid lval super class test
2015-01-01 22:29:57 +11:00
Sebastian McKenzie
9ee7b07cbf
add corejs aliasing transformer and support for optional transformers
2015-01-01 20:01:09 +11:00
Sebastian McKenzie
46632e1a97
better object getter memoization - closes #353
2014-12-31 11:54:13 +11:00
Sebastian McKenzie
961e0b9b6b
reenable system modules tests
2014-12-31 11:51:52 +11:00
Sebastian McKenzie
918ddb4124
disable system tests temporairly
2014-12-29 11:16:47 +11:00
Sebastian McKenzie
d4fbfbbe47
Merge pull request #348 from guybedford/system
...
System test adjustments
2014-12-29 01:51:16 +11:00
Sebastian McKenzie
44f5b7d013
fix case statement newline in code generator test
2014-12-29 01:39:04 +11:00
Sebastian McKenzie
dcf7f0b70b
fix newline in case statement test
2014-12-29 01:37:19 +11:00
Sebastian McKenzie
70d896d609
rename runtime script to runtime-generator
2014-12-29 01:24:57 +11:00
guybedford
295bab544b
re-exporting in setters
2014-12-28 14:43:56 +02:00
guybedford
cfe05ca10d
exported variable declarations hoist along with functions
2014-12-28 14:41:32 +02:00
guybedford
da72182219
make modules anonymous
2014-12-28 14:38:52 +02:00
Sebastian McKenzie
c509d06bc2
vaoid being greedy when destructuring array iterables
2014-12-28 11:04:00 +11:00
Sebastian McKenzie
6df6652629
better circular references in amd/umd/system module formatter
2014-12-28 09:35:47 +11:00
Sebastian McKenzie
b63bd8cba0
remove interopRequire from system module formatter
2014-12-28 01:14:08 +11:00
Sebastian McKenzie
a4ea71b85d
Merge pull request #337 from guybedford/master
...
Correct system format base support tests
2014-12-28 01:03:35 +11:00
Sebastian McKenzie
322aa246b8
fix automatic closure on private declarations - fixes #335
2014-12-28 01:01:13 +11:00
Sebastian McKenzie
601bbb86cd
remap UpdateExpression in module exports - closes #334
2014-12-28 01:00:53 +11:00
guybedford
5c39685650
correct system format base support tests
2014-12-27 15:59:52 +02:00
Sebastian McKenzie
4fd007948c
fix system modules exports from test
2014-12-27 21:34:20 +11:00
Sebastian McKenzie
f4e516e8ce
fix tests as per acorn upgrade
2014-12-27 21:29:24 +11:00
Sebastian McKenzie
df66fa0a7f
heavily simplify system module formatter and share common code between them all
2014-12-27 21:23:53 +11:00
Sebastian McKenzie
0a85211e8e
fix traverse blacklist test
2014-12-27 21:22:34 +11:00
Sebastian McKenzie
ac8fc24fdb
fix traverse test to reflect the new api
2014-12-27 19:16:06 +11:00