Sebastian McKenzie
ecd85f53b4
Merge pull request #516 from jridgewell/mallot
...
Playground Proposal: Mallet operator
2015-01-17 21:59:23 +11:00
Sebastian McKenzie
eb9cd95d5a
update for head tests
2015-01-17 17:54:04 +11:00
Justin Ridgewell
ac5a6da1fa
Use all falsey values
2015-01-16 19:25:28 -05:00
Justin Ridgewell
616640a128
Playground Proposal: Mallet operator
...
The mallet operator is similar to the current memoization operator,
except it can be used outside of just objects.
In Ruby, it’s almost the same as `a = a || b`. Note that only `nil` and
`false` are falsey in Ruby. I’ve defined it as `== null`, though that
could be changed to any JS falsey value.
2015-01-16 18:57:15 -05:00
Sebastian McKenzie
51f6cfddca
remove instanbul inclusion
2015-01-16 02:47:20 +11:00
Lee Byron
9624663e60
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-15 08:41:53 -05:00
Sebastian McKenzie
88eacecd72
clarify traceur ignore tests
2015-01-15 23:08:06 +11:00
Shinnosuke Watanabe
db5750643a
use output-file-sync instead of mkdirp
...
https://github.com/shinnn/output-file-sync
2015-01-15 18:29:40 +09:00
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
Sebastian McKenzie
b60eca0a76
better typeof symbol transformer
2015-01-15 02:24:32 +11:00
Sebastian McKenzie
44f06c0b4c
instance and static class method names
2015-01-15 02:24:23 +11:00
Sebastian McKenzie
07ddfbeb5d
remove pointless prototypeProperties helper call
2015-01-15 01:20:06 +11:00
Sebastian McKenzie
6b836de306
add #480 test
2015-01-14 07:56:45 +11:00
Sebastian McKenzie
afd3af834d
add loose option to computed property names
2015-01-14 00:35:45 +11:00
Sebastian McKenzie
8afec8b12a
rename fast mode to loose #465
2015-01-14 00:24:34 +11:00
Sebastian McKenzie
4898770d60
ignore test262 in istanbul
2015-01-13 23:27:26 +11:00
Sebastian McKenzie
bd2fa77446
fix fast forOf and add tests
2015-01-13 23:18:46 +11:00
Sebastian McKenzie
1c2bafe0e1
use assignment instead of define for fast classes
2015-01-13 23:18:38 +11:00
Sebastian McKenzie
0f55a66f5b
add "fast" option for transformers
2015-01-13 22:02:04 +11:00
Sebastian McKenzie
3283991ed0
flip es6 geneartors include regenerator tests
2015-01-13 10:56:36 +11:00
Sebastian McKenzie
a66ce5b6ce
add ignore ast check to es6 generators test because regenerator outputs an invalid ast
2015-01-13 10:44:17 +11:00
Sebastian McKenzie
9620f50f22
fix #474 test
2015-01-13 10:32:39 +11:00
Amjad Masad
e5a04ae117
Add test
2015-01-12 17:56:16 -05:00
Sebastian McKenzie
17d198f3d6
Merge pull request #468 from AluisioASG/core-aliasable
...
Whitelist constructors aliasable to core-js
2015-01-13 01:46:19 +11:00
Aluísio Augusto Silva Gonçalves
afd5376c8d
Whitelist constructors aliasable to core-js
...
Expand the list of identifiers for which we substitute `_core.<Something>`
for `<Something>`. Also an alternative fix for #421 .
2015-01-12 12:29:37 -02:00
Sebastian McKenzie
831b420df3
special case single super method call with spread, fixes #227
2015-01-13 01:09:10 +11:00
Sebastian McKenzie
ea627ed57c
don't use function variable declaration for class constructor
2015-01-13 00:03:52 +11:00
Sebastian McKenzie
76a3771943
change ambiguous _inherits parameters
2015-01-12 20:54:37 +11:00
Sebastian McKenzie
d1daac5550
add global shim due to core-js 0.4.4
2015-01-12 20:07:30 +11:00
Sebastian McKenzie
545c8c3adb
define class methods instead of assigning them - fixes #454
2015-01-12 11:44:23 +11:00
Sebastian McKenzie
d093dc8231
disallow setters without one parameter - fixes #455
2015-01-12 10:25:37 +11:00
Sebastian McKenzie
6131cea5b2
add classesFastSuper optional transformer - fixes #451
2015-01-12 10:19:22 +11:00
Sebastian McKenzie
82aa2686f9
fix writable being set on accessors
2015-01-11 04:55:27 +11:00
Sebastian McKenzie
286d2f84bd
add configurable and writable property to defined properties
2015-01-11 02:43:17 +11:00
Sebastian McKenzie
ad6ab57fe3
only use raw type references in coreAliasing on Symbol - fixes #421
2015-01-11 01:00:04 +11:00
Sebastian McKenzie
5b52e507ca
fix non-identifier class super tests
2015-01-10 22:55:19 +11:00
Sebastian McKenzie
54b05f33f2
move super reference into closure
2015-01-10 22:26:51 +11:00
Sebastian McKenzie
13a52dd300
always use an IIFE for classes - fixes #435
2015-01-10 22:18:30 +11:00
Sebastian McKenzie
9bbf109dc8
support UpdateExpressions as MemberExpression objects - fixes #440
2015-01-10 16:24:17 +11:00
Sebastian McKenzie
b08f2061b5
fix destructuring tests
2015-01-09 21:43:24 +11: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
3509990563
enable esnext tests by default
2015-01-09 07:23:17 +11: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