Sebastian McKenzie
d360bd5bb7
update misc tests
2015-01-18 18:23:27 +11:00
Sebastian McKenzie
74f5a73d31
update traceur
2015-01-18 18:23:14 +11:00
Sebastian McKenzie
26395a86fa
add block scoped functions - fixes #514
2015-01-18 18:23:03 +11:00
Sebastian McKenzie
436c488ee3
revamp let scoping transformer - closes #510
2015-01-18 18:22:37 +11:00
Sebastian McKenzie
93d99077e5
Revert "add loose mode to spread and destructuring"
...
This reverts commit 95d9f596687cd3fb4ce4d78dc6c7606128b74209.
2015-01-18 12:52:16 +11:00
Sebastian McKenzie
0bb52d6e3d
Merge branch 'master' of github.com:6to5/6to5
2015-01-18 12:16:23 +11:00
Sebastian McKenzie
320c78b815
make let scoping collision detection much more reliable
2015-01-18 12:15:50 +11:00
Sebastian McKenzie
ddd59b94b0
upgrade acorn-6to5
2015-01-18 12:15:31 +11:00
Sebastian McKenzie
c210d64557
add loose all option
2015-01-18 12:13:08 +11:00
Sebastian McKenzie
a0f605bbab
add way to automatically write expected tests
2015-01-18 12:12:58 +11:00
Sebastian McKenzie
f4b2768194
add todo note to duplicate expression
2015-01-18 12:12:32 +11:00
Sebastian McKenzie
95d9f59668
add loose mode to spread and destructuring
2015-01-18 12:12:12 +11:00
Sebastian McKenzie
c41d799b9b
Merge pull request #522 from fabiomcosta/lint_fixes
...
Fixes lint warnings that are blocking test run
2015-01-18 10:21:12 +11:00
Fabio M. Costa
e7d4642d48
Fixes lint warnings that are blocking test run
2015-01-17 14:19:54 -08:00
Sebastian McKenzie
41949fd58b
push uids to scope tracking - fixes #515
2015-01-18 02:36:37 +11:00
Sebastian McKenzie
d0dc972840
fix up formatting in traverse
2015-01-18 02:35:19 +11:00
Sebastian McKenzie
621e66e9ac
add private declaration and comprehension expression support to scope tracking and id building
2015-01-18 02:35:08 +11:00
Sebastian McKenzie
529544ce0e
use generateUidIdentifier instead of generateUid
2015-01-18 01:16:09 +11:00
Sebastian McKenzie
f298cd3f0f
allow single idents in binary assignment operator transformer
2015-01-18 01:15:35 +11:00
Sebastian McKenzie
67029ac8e8
better helpers for assignment operators
2015-01-18 00:37:51 +11:00
Sebastian McKenzie
b54800234f
clean up conditional assignment operator transformers
2015-01-17 22:56:49 +11:00
Sebastian McKenzie
ecd85f53b4
Merge pull request #516 from jridgewell/mallot
...
Playground Proposal: Mallet operator
2015-01-17 21:59:23 +11:00
Sebastian McKenzie
9098852897
abstract out classes super replace
2015-01-17 18:53:49 +11:00
Sebastian McKenzie
3eb4d5b466
fix up styling of #518
2015-01-17 18:53:40 +11:00
Sebastian McKenzie
ddb1c718f1
Merge pull request #518 from gaearon/perf-v8
...
RFC: V8-specific performance impovements
2015-01-17 18:33:35 +11:00
Sebastian McKenzie
8919873ea1
clean up react/jsx transformer
2015-01-17 18:26:14 +11:00
Sebastian McKenzie
eb9cd95d5a
update for head tests
2015-01-17 17:54:04 +11:00
Sebastian McKenzie
4ec701fc44
ignore variable declarations inside loop head in newline generation - fixes #519
2015-01-17 17:44:16 +11:00
Dan Abramov
ff9511d435
Proof of concept of how traversal would look like with state parameter
2015-01-17 05:03:23 +03: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
1f9ce96e43
fix rest parameter array size error in rest parameter comment
2015-01-17 10:27:01 +11:00
Sebastian McKenzie
dc6a862bec
better clarification of rest parameter size construction comment
2015-01-17 10:23:53 +11:00
Dan Abramov
f9480b5280
Avoid closures when traversing
2015-01-17 00:13:39 +03:00
Dan Abramov
8dc4996547
Refactor traversal into smaller methods
2015-01-17 00:13:39 +03:00
Dan Abramov
4f01f67dd6
Avoid delete in favor of null assignment to prevent deoptimizations
2015-01-17 00:13:39 +03:00
Dan Abramov
938026abeb
Use toFastProperties to speed up t.* method access
2015-01-17 00:13:38 +03:00
Sebastian McKenzie
76b8945207
v2.12.6
v2.12.6
2015-01-16 22:52:12 +11:00
Sebastian McKenzie
e78859fae0
add 2.12.6 changelog
2015-01-16 22:49:31 +11:00
Sebastian McKenzie
d68f1e9910
add flow type generation skeleton
2015-01-16 22:47:55 +11:00
Sebastian McKenzie
20e97f2d9b
add flow type visitor keys - none currently as we don't need to traverse over any of them - closes #513
2015-01-16 22:46:09 +11:00
Sebastian McKenzie
750ec7783f
v2.12.5
v2.12.5
2015-01-16 08:08:52 +11:00
Sebastian McKenzie
14ae438735
remove declarators push in let scoping
2015-01-16 08:06:38 +11:00
Sebastian McKenzie
2f8bdd7e27
add 2.12.5 changelog
2015-01-16 07:59:40 +11:00
Sebastian McKenzie
87da9fcfc5
fix let scoping for loop - closes #509
2015-01-16 07:58:14 +11:00
Sebastian McKenzie
51f6cfddca
remove instanbul inclusion
2015-01-16 02:47:20 +11:00
Sebastian McKenzie
b9ad4c2773
v2.12.4
v2.12.4
2015-01-16 02:41:23 +11:00
Sebastian McKenzie
228b3dbc34
fix linting errors
2015-01-16 02:38:45 +11:00
Sebastian McKenzie
a01802300f
fix default parameters transformer for loops
2015-01-16 02:36:56 +11:00
Sebastian McKenzie
51c6a3fffc
fix let scoping body not existing
2015-01-16 02:31:36 +11:00