Sebastian McKenzie
|
58bed088f5
|
throw an error when destructuring a null or undefined value on an empty object pattern - fixes #681
|
2015-02-04 17:35:24 +11:00 |
|
Sebastian McKenzie
|
4f023e83f8
|
refactor traversals that have scopes to use the scope helper method
|
2015-02-04 13:25:23 +11:00 |
|
Sebastian McKenzie
|
7d950cd60a
|
i made the javascripts faster with a transformer prepass to check what transformers actually have to be ran
|
2015-02-04 12:56:34 +11:00 |
|
Sebastian McKenzie
|
55f2cffc22
|
fix linting errors
|
2015-02-04 10:05:20 +11:00 |
|
Sebastian McKenzie
|
8d81a382f7
|
inline back the super constructor call helper - fixes #684
|
2015-02-04 08:39:45 +11:00 |
|
Sebastian McKenzie
|
239369314c
|
more scope refactoring - fixes #676
|
2015-02-03 20:06:27 +11:00 |
|
Sebastian McKenzie
|
f2d1fc47d1
|
Merge branch 'master' of github.com:6to5/6to5
|
2015-02-03 19:55:29 +11:00 |
|
Sebastian McKenzie
|
a9405e5e80
|
clean up scope API
|
2015-02-03 19:33:32 +11:00 |
|
Jay Phelps
|
9880990fa7
|
First pass at converting identifiers/words from en-au -> en-us
|
2015-02-03 00:08:43 -08:00 |
|
Sebastian McKenzie
|
72de8f5c9b
|
fix class tests to reflect new call behaviour
|
2015-02-03 15:35:24 +11:00 |
|
Sebastian McKenzie
|
3a11c7d46b
|
as per "ES6 February 2, 2015 Draft Rev 32" "Constructors defined using class definition syntax throw when called as functions"
|
2015-02-03 15:16:16 +11:00 |
|
Sebastian McKenzie
|
630f1717f0
|
clean up scope collision tracking and constants transformer - fixes #331
|
2015-02-03 13:20:52 +11:00 |
|
Sebastian McKenzie
|
e6e93840a6
|
check for scope collisions in constants transformer - fixes #331
|
2015-02-03 12:03:38 +11:00 |
|
Sebastian McKenzie
|
b2ad79cf88
|
rename t.getDeclarations to the WAY more reflective t.getBindingIdentifiers
|
2015-02-03 12:03:21 +11:00 |
|
Sebastian McKenzie
|
706797eb47
|
rename LetScoping to BlockScoping
|
2015-02-03 10:23:56 +11:00 |
|
Sebastian McKenzie
|
8e23d623c8
|
split up util.pushMutatorMap and util.buildDefineProperties
|
2015-02-03 09:30:52 +11:00 |
|
Sebastian McKenzie
|
25566a24f6
|
block hoist assignment pattern destructuring - fixes #652
|
2015-02-01 18:33:36 +11:00 |
|
Sebastian McKenzie
|
5aa8ece242
|
don't run playground transformers at all if playground isn't enabled
|
2015-02-01 16:19:49 +11:00 |
|
Sebastian McKenzie
|
8c7ba20f86
|
fix regenerator transformer order - fixes #617
|
2015-02-01 16:19:35 +11:00 |
|
Sebastian McKenzie
|
4a720625d9
|
fix linting errors
|
2015-01-31 21:29:44 +11:00 |
|
Sebastian McKenzie
|
c0299320f0
|
avoid transforming of inner labels and propagation of maps in block scoping transformer - #644
|
2015-01-31 21:27:20 +11:00 |
|
Sebastian McKenzie
|
0fea437536
|
rename t.getIds to t.getDeclarations and remove dead code
|
2015-01-30 21:36:51 +11:00 |
|
Sebastian McKenzie
|
e514660fbd
|
we no longer have to handle labels on loops in block scoping
|
2015-01-30 21:26:35 +11:00 |
|
Sebastian McKenzie
|
3f3cd2bb3a
|
add better support for labels in the block scoping transformer and add more let scoping tests - fixes #644 and closes #608
|
2015-01-30 20:51:20 +11:00 |
|
Sebastian McKenzie
|
f3f69ab4fa
|
fix scope tracking for default parameters iife
|
2015-01-30 19:39:20 +11:00 |
|
Sebastian McKenzie
|
bbbc9c0c5e
|
remove redundant enumerable: true property on class methods
|
2015-01-30 10:44:33 +11:00 |
|
Sebastian McKenzie
|
31df576d26
|
make class methods nonenumerable - fixes #639
|
2015-01-30 10:05:17 +11:00 |
|
Stefan Penner
|
9ddf411f2c
|
cleanup: require explicit lodash modules needed
|
2015-01-28 23:52:17 -05:00 |
|
Sebastian McKenzie
|
960a70287d
|
add improved for-of loose behaviour that supports destructuring - fixes #615
|
2015-01-29 00:50:22 +11:00 |
|
Sebastian McKenzie
|
c25c33e3ee
|
remove unnecessary ensureBlock in es6 rest parameters transformer
|
2015-01-29 00:06:42 +11:00 |
|
Sebastian McKenzie
|
d10d96d19a
|
fix unused iife declaration
|
2015-01-28 15:19:50 +11:00 |
|
Sebastian McKenzie
|
64766eea44
|
add more reliable iife detection for default parameter independent scope
|
2015-01-28 15:18:50 +11:00 |
|
Sebastian McKenzie
|
cfe9a4e270
|
add isConsequenceExpressionStatement last
|
2015-01-26 17:43:19 +11:00 |
|
Sebastian McKenzie
|
3db7811f00
|
add missing use strict declarations
|
2015-01-26 15:53:24 +11:00 |
|
Sebastian McKenzie
|
8243a34b69
|
change the way modules handle default exports and function declaration exports
|
2015-01-26 15:53:17 +11:00 |
|
Sebastian McKenzie
|
cfd0059fc7
|
fix linting errors
|
2015-01-26 13:51:06 +11:00 |
|
Sebastian McKenzie
|
a3b58edc52
|
only remap break/continue when inside a loop
|
2015-01-25 18:46:20 +11:00 |
|
Sebastian McKenzie
|
afa0a31b91
|
add no loopParent warning to block scoping transformer
|
2015-01-24 16:31:52 +11:00 |
|
Sebastian McKenzie
|
8a13c12738
|
switch rest and default parameters to new ast type
|
2015-01-24 16:31:43 +11:00 |
|
Sebastian McKenzie
|
75389b04a6
|
use isConsequenceExpressionStatement to correctly evaluate expressions - fixes #502
|
2015-01-24 00:19:48 +11:00 |
|
Sebastian McKenzie
|
a22cd72440
|
update to RestElement - @RReverser
|
2015-01-23 23:20:45 +11:00 |
|
Sebastian McKenzie
|
9f435d02f2
|
switch to a custom list of global keys and use object helper
|
2015-01-23 23:04:33 +11:00 |
|
Sebastian McKenzie
|
5f8f9e35d7
|
better categorisation of transformers
|
2015-01-23 23:03:41 +11:00 |
|
Sebastian McKenzie
|
8f68f62f8a
|
add jscs
|
2015-01-22 19:23:56 +11:00 |
|
Sebastian McKenzie
|
8678917e2a
|
add util.object that we'll use to construct objects to avoid prototype collisions
|
2015-01-22 18:39:31 +11:00 |
|
Sebastian McKenzie
|
f63ce4ddd4
|
rename _letDeclars to _letDeclarators in es6 block scoping transformer
|
2015-01-22 17:20:05 +11:00 |
|
Sebastian McKenzie
|
b9b1a44c28
|
support async await inside of let scoping closure wrapper - fixes #565
|
2015-01-22 10:53:05 +11:00 |
|
Sebastian McKenzie
|
870954c6be
|
rewrite constants transformer
|
2015-01-22 07:37:18 +11:00 |
|
Sebastian McKenzie
|
9cdbb99eb9
|
fix linting errors
|
2015-01-22 01:47:13 +11:00 |
|
Sebastian McKenzie
|
48cebd5e30
|
rename es6.generators to regenerator
|
2015-01-22 01:47:07 +11:00 |
|