Sebastian McKenzie
49e7e3b998
fix multiple references in experimental abstract references #207
2014-11-24 00:35:18 +11:00
Sebastian McKenzie
fafdb1a18a
add exponentiation operator
2014-11-23 22:55:20 +11:00
Sebastian McKenzie
f80527832c
remove unused variables
2014-11-23 21:45:10 +11:00
Sebastian McKenzie
32f8f9e663
change arguments to array to an additional faster helper method
2014-11-23 21:43:28 +11:00
Sebastian McKenzie
3447204d97
add experimental es7 object spread/rest - closes #200
2014-11-23 21:43:01 +11:00
Sebastian McKenzie
3396cc84f1
fix spread not returning a new array with a single spread element
2014-11-23 20:16:10 +11:00
Sebastian McKenzie
9a5f97d85b
fix jshint errors
2014-11-23 18:46:30 +11:00
Sebastian McKenzie
4502aee988
add support for call expression abstract references and more versatile tests
2014-11-23 18:37:30 +11:00
Sebastian McKenzie
bf0ca10253
add abstract reference CallExpression base
2014-11-23 16:54:51 +11:00
Sebastian McKenzie
fcc4734a1f
complete abstract references support - parser support left
2014-11-23 16:47:13 +11:00
Sebastian McKenzie
2b21f4b571
Merge branch 'master' into abstract-references
...
Conflicts:
lib/6to5/polyfill.js
2014-11-23 16:17:10 +11:00
Sebastian McKenzie
24d9833170
better categorisation of transformers
2014-11-23 16:15:39 +11:00
Sebastian McKenzie
fad0be8a45
add spec references
2014-11-23 16:08:54 +11:00
Sebastian McKenzie
02c42b94f5
Add abstract references base #205
2014-11-23 16:04:25 +11:00
Sebastian McKenzie
7e299470fd
remove unused variables
2014-11-23 12:01:19 +11:00
Sebastian McKenzie
1a58087460
use toArray inline helper instead of Array.from #203 #199
2014-11-23 11:59:18 +11:00
Sebastian McKenzie
717e6df407
use Array.from on single block array comprehensions - closes #199
2014-11-22 23:44:12 +11:00
Sebastian McKenzie
defa9108bd
support computed property destructuring
2014-11-21 17:09:31 +11:00
Sebastian McKenzie
6b1d9b49b7
use generateUidIdentifier over the long form
2014-11-21 17:09:15 +11:00
Sebastian McKenzie
4b8a4492ba
remove unused Scope variable
2014-11-20 21:29:00 +11:00
Sebastian McKenzie
db97f665ed
remove scope from generator visitor
2014-11-20 21:18:21 +11:00
Sebastian McKenzie
71ad511322
add File::generateUidIdentifier method
2014-11-20 21:08:33 +11:00
Sebastian McKenzie
5867e24886
remove unused variables
2014-11-20 16:02:56 +11:00
Sebastian McKenzie
7fccf98c10
small performance improvements
2014-11-20 15:09:20 +11:00
Sebastian McKenzie
4a1c393bdb
inherit generator comments and add block hoisting - fixes #196
2014-11-20 15:09:07 +11:00
Sebastian McKenzie
2152ae9b17
remove unused kind variable
2014-11-20 00:50:18 +11:00
Sebastian McKenzie
fb39df71eb
support array destructuring on iterables - fixes #194
2014-11-19 21:10:40 +11:00
Sebastian McKenzie
d4379d52a7
split up generator transformer emit and explode
2014-11-19 17:48:59 +11:00
Sebastian McKenzie
8feb17dd23
normalise whitespace after function keyword
2014-11-19 17:18:05 +11:00
Sebastian McKenzie
7fc2fe41af
fix bug in let scoping resulting in unneccesary replacement - closes #193 , closes #185
2014-11-19 13:46:00 +11:00
Sebastian McKenzie
81ec1e1f42
remove unused variable in generators/meta
2014-11-19 12:54:54 +11:00
Sebastian McKenzie
d9d84c60b5
check for existence of node before checking it in let scoping
2014-11-19 12:13:00 +11:00
Sebastian McKenzie
f43a3dec4b
more regenerator spring cleaning
2014-11-19 12:12:59 +11:00
Brent Burgoyne
861b9e68d3
Deleted uneeded _runtime.js
2014-11-18 07:13:12 -07:00
Brent Burgoyne
a0eb108cd4
Remove global existence check
2014-11-18 07:10:47 -07:00
Brent Burgoyne
756aef6adc
Instead of returning early, conditionally require actual runtime (./_runtime.js)
...
Fix this error with webpack:
ERROR in ./~/6to5/lib/6to5/transformation/transformers/generators/runtime.js
Module parse failed: /[...]/node_modules/6to5/lib/6to5/transformation/transformers/generators/runtime.js Line 12: Illegal return statement
You may need an appropriate loader to handle this file type.
|
| if (typeof global.regeneratorRuntime === "object") {
| return;
|
}
|
@ ./~/6to5/lib/6to5/polyfill.js 6:0-59
2014-11-18 06:55:39 -07:00
Sebastian McKenzie
7b74c1c8ec
more generator spring cleaning
2014-11-17 17:30:41 +11:00
Sebastian McKenzie
8e115ef3ed
regenerator spring cleaning
2014-11-17 17:04:04 +11:00
Sebastian McKenzie
7bd1337ee8
clean up weird regenerator formatting, only one instance, heaps more to go!
2014-11-17 13:56:42 +11:00
Sebastian McKenzie
c54f530b10
fix up duplicate variables in regenerator
2014-11-17 12:48:35 +11:00
Sebastian McKenzie
d091793077
add generator support let scoping - fixes #178
2014-11-17 04:09:48 +11:00
Sebastian McKenzie
e6baac1003
move regenerator into main repo so we can iterate on it faster and make a bunch of additional changes
2014-11-17 04:09:29 +11:00
Sebastian McKenzie
0dbb24c922
remove unused i variable in default parameters transformer
2014-11-16 14:37:26 +11:00
Sebastian McKenzie
d0a2bd170e
clean up constants transformer
2014-11-16 14:33:37 +11:00
Sebastian McKenzie
a1895b4bb4
implement temporal dead zone for default parameters - fixes #169
2014-11-16 14:32:03 +11:00
Sebastian McKenzie
00483917f0
fix comments not being retained from MethodDefinition in classes
2014-11-16 11:30:05 +11:00
Sebastian McKenzie
542fe89123
fix up tests to work with new member expression keyword generator
2014-11-15 11:23:16 +11:00
Sebastian McKenzie
8503916799
add _memberExpressionKeywords transformer that turns keyword identifiers to computed literals
2014-11-15 11:13:02 +11:00
Sebastian McKenzie
206c828a56
more react compliant whitespace - #165
2014-11-15 11:00:32 +11:00
Sebastian McKenzie
7a261a1db1
fix duplicate let scoping in functions - fixes #166
2014-11-15 09:47:48 +11:00