Sebastian McKenzie
2587694d44
Merge branch 'master' into traceur
...
Conflicts:
package.json
2015-01-04 19:52:52 +11:00
Sebastian McKenzie
005362a615
update tests to 2.4.9 fixes
2015-01-04 19:48:14 +11:00
Sebastian McKenzie
b5a78355c4
add initProps to single call expression in computed property names - fixes #378
2015-01-04 19:42:16 +11:00
Sebastian McKenzie
6a35bdb42b
add traceur test suite
2015-01-04 19:40:09 +11:00
Sebastian McKenzie
18813f26bb
Merge branch 'master' into esnext
2015-01-04 15:32:41 +11:00
Sebastian McKenzie
e2f01d41a3
fix api test
2015-01-04 13:42:16 +11:00
Sebastian McKenzie
9a2fd22e91
add newline to esnext super change proto test
2015-01-04 08:35:28 +11:00
Sebastian McKenzie
cbcad22d81
update default parameters transformer to use var a = arguments[0] === undefined ? 1 : arguments[0]; instead of if (a === undefined) a = 1;
2015-01-04 08:35:14 +11:00
Sebastian McKenzie
4d5861cfdc
remove invalid strict-mode es6 next class test
2015-01-04 08:34:25 +11:00
Sebastian McKenzie
dea73b7186
change code assertion to 6to5 output
2015-01-04 08:01:29 +11:00
Sebastian McKenzie
4506e39cf5
add toString key to instance keys as methods are enumerable
2015-01-04 08:01:08 +11:00
Sebastian McKenzie
7ab6df093b
use Symbol.iterator instead of @@iterator
2015-01-04 08:00:49 +11:00
Sebastian McKenzie
22eeae1a93
use assert instead of expect
2015-01-04 08:00:40 +11:00
Sebastian McKenzie
7f4efecb7d
support for CallExpression in Scope.prototype.generateUidBasedOnNode
2015-01-04 07:59:43 +11:00
Sebastian McKenzie
0c0f40d14a
only automatically assume test is exec if it has a js extension
2015-01-04 07:58:49 +11:00
Sebastian McKenzie
cb54c11d84
add esnext tests
2015-01-04 07:39:11 +11:00
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