Sebastian McKenzie
55054e45da
Revert "Improve performance of rest parameter."
...
This reverts commit e5463cc2a97cafbf9d35656038f19b45dd75ffce.
2015-01-15 19:34:33 +11:00
Lee Byron
e5463cc2a9
Improve performance of rest parameter.
...
Rather than initing an empty array and filling, create an array of the correct size up-front. Minor gain on chromium, but considerably (~5x) faster in spidermonkey/firefox.
2015-01-14 19:08:14 -05:00
Christopher Monsanto
4fdcf685d3
add loose transform for tagged template literals
2015-01-13 14:48:31 -05:00
Sebastian McKenzie
8afec8b12a
rename fast mode to loose #465
2015-01-14 00:24:34 +11:00
Sebastian McKenzie
0f55a66f5b
add "fast" option for transformers
2015-01-13 22:02:04 +11:00
Sebastian McKenzie
76a3771943
change ambiguous _inherits parameters
2015-01-12 20:54:37 +11:00
Sebastian McKenzie
6131cea5b2
add classesFastSuper optional transformer - fixes #451
2015-01-12 10:19:22 +11:00
Sebastian McKenzie
9f3e1eabfd
simplify define properties
2015-01-11 03:21:05 +11:00
Christopher Monsanto
393d52088a
optional for-of transformer that puts arrays in fast path
2015-01-09 20:53:48 -05:00
Sebastian McKenzie
1536d3de91
Revert "add base optional object observe transformer"
...
This reverts commit b619e843a9ffae2376aafceeb7d0b47ac79f8ac7.
2015-01-09 21:18:55 +11:00
Sebastian McKenzie
1c8d24f78c
remove exportsWildcard helper in favor of defaults #430
2015-01-09 20:08:05 +11:00
Sebastian McKenzie
b619e843a9
add base optional object observe transformer
2015-01-09 19:57:21 +11:00
Sebastian McKenzie
944a9d3908
pass exports to exportsWildcard - fixes #430
2015-01-09 19:48:11 +11:00
Brian Donovan
28d10b8eb4
Ensure more than one level of superclass works.
2015-01-08 13:33:02 -08:00
Sebastian McKenzie
c5960fb9f7
Merge pull request #408 from 6to5/fix-esnext-class-tests
...
[WIP] Fix super with getters and setters and with class prototypes changing.
2015-01-09 07:22:35 +11:00
Brian Donovan
07131576cf
Use undefined instead of void 0.
2015-01-08 11:59:01 -08:00
Brian Donovan
af1912ab7a
Ensure constructors use the current super class.
...
This is an extension of 324a4a1b22c5cd6b624d7689f8ec97a8c36eb165.
2015-01-08 09:31:18 -08:00
Brian Donovan
8c478f29bc
Use desc.writable instead of "writable" in desc as suggested by @stefanpenner.
2015-01-08 09:21:35 -08:00
Sebastian McKenzie
611137c7d7
add umd strict and amd strict module formatter, also fix bug with wrong amd module constructor - fixes #415
2015-01-08 22:44:51 +11:00
Brian Donovan
324a4a1b22
Fix super with getters and setters and with class prototypes changing.
2015-01-07 21:10:36 -08:00
Sebastian McKenzie
8f64fe2332
add extends helper instead of using Object.assign
2015-01-07 22:42:26 +11:00
Lars Kappert
50e5bd4680
Merge remote-tracking branch 'origin/master' into amd-port-interop
...
Conflicts:
test/fixtures/transformation/es6-modules-amd/exports-default/expected.js
test/fixtures/transformation/es6-modules-amd/overview/expected.js
test/fixtures/transformation/es6-modules-umd/exports-default/expected.js
test/fixtures/transformation/es6-modules-umd/overview/expected.js
2015-01-06 20:21:00 +01:00
Sebastian McKenzie
1696f77980
fix rest parameter keys when on functions with params
2015-01-06 20:15:10 +11:00
Sebastian McKenzie
44e9812ad4
fix rest parameter arguments key - closes #405
2015-01-06 20:02:56 +11:00
Sebastian McKenzie
4c9e39afa1
replace slice with a loop in rest parameters
2015-01-06 17:05:52 +11:00
Sebastian McKenzie
2558a5e12e
better wildcard imports and exports - fixes #224
2015-01-06 11:48:23 +11:00
Lars Kappert
56f1683f06
Also test for "module" identifier if needed
2015-01-05 14:57:52 +01:00
Sebastian McKenzie
16024242b0
add type check to inherits template
2015-01-05 10:23:06 +11:00
Sebastian McKenzie
45d0eea842
fix native type constructor spread - closes #373
2015-01-05 10:20:36 +11:00
Sebastian McKenzie
b0c9d3daa4
Merge branch 'master' into traceur
2015-01-05 10:19:41 +11:00
James Kyle
3b4c9c415e
Make parent constructor check explicit when extending from null - fixes #386
2015-01-04 13:45:13 -08:00
Sebastian McKenzie
b81f824b7e
normalise wildcard import into a default object
2015-01-05 00:07:22 +11:00
Sebastian McKenzie
9bfb8c440a
add optional typeof symbol transformer
2015-01-05 00:06:57 +11:00
Lars Kappert
17ce21509d
Move exports identifier from UMD template to commonArgs
2015-01-04 12:59:25 +01:00
Lars Kappert
941a8cc5ea
Remove unused templates
2015-01-04 12:51:34 +01:00
Lars Kappert
7ac98c1532
Add custom export declaration fn for AMD modules
2015-01-04 11:46:28 +01:00
Sebastian McKenzie
ccabb91f69
add back deleted object-define-properties-closure template
2015-01-04 15:30:59 +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
324a0b408a
add optional protoToAssign transformer
2015-01-04 07:38:36 +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
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
925b1f7600
add optional asyncToGenerator transformer - closes #321
2015-01-02 01:31:14 +11:00
Sebastian McKenzie
800c350db6
use Object.defineProperty on computed properties - fixes #357
2015-01-02 00:40:37 +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
9ee7b07cbf
add corejs aliasing transformer and support for optional transformers
2015-01-01 20:01:09 +11:00
Sebastian McKenzie
e847ac11af
add object-getter-memoization template
2014-12-31 11:54:51 +11:00
Sebastian McKenzie
13933bc9b8
move templates folder into transformation folder
2014-12-29 01:24:35 +11:00