Sebastian McKenzie
|
3d874f2479
|
update sliceToArray helper, again...
|
2015-02-13 20:45:43 +11:00 |
|
Sebastian McKenzie
|
c6ce1a248c
|
better slicedToArray helper
|
2015-02-13 20:38:28 +11:00 |
|
Sebastian McKenzie
|
56c868efee
|
fix incorrect generateUid references in File
|
2015-02-13 18:27:53 +11:00 |
|
Sebastian McKenzie
|
3b04a8c648
|
fix linting errors
|
2015-02-13 18:24:24 +11:00 |
|
Sebastian McKenzie
|
c3206aa9a4
|
move File::generateUid to Scope and add return type inferrence
|
2015-02-13 18:21:28 +11:00 |
|
Sebastian McKenzie
|
a567531f77
|
ignore member expressions in constants transformer - fixes #770
|
2015-02-13 17:18:42 +11:00 |
|
Sebastian McKenzie
|
2d8581c6dc
|
Merge branch 'master' of github.com:6to5/6to5
Conflicts:
lib/6to5/transformation/transformers/minification/dead-code-elimination.js
|
2015-02-13 16:54:09 +11:00 |
|
Sebastian McKenzie
|
14a000396a
|
add error message to the sliced-to-array helper on a non-iterable param - fixes #766
|
2015-02-13 16:50:03 +11:00 |
|
Sebastian McKenzie
|
6be2a6e02a
|
add extra note to minification dead code elimination transformer
|
2015-02-13 15:09:17 +11:00 |
|
Sebastian McKenzie
|
25d8377411
|
normalise JSX attribute strings
|
2015-02-13 15:08:39 +11:00 |
|
Sebastian McKenzie
|
ba5c5760b1
|
Merge pull request #769 from 6to5/if-truthy-minification-returns-consequent
Return the consequent if the test is truthy.
|
2015-02-13 14:08:32 +11:00 |
|
Brian Donovan
|
49904b3ab3
|
Fix a small grammar issue.
|
2015-02-12 19:07:54 -08:00 |
|
Brian Donovan
|
a212f035e4
|
Return the consequent if the test is truthy.
|
2015-02-12 19:06:06 -08:00 |
|
Brian Donovan
|
ea471a6a17
|
Fix a few typos.
|
2015-02-12 18:47:08 -08:00 |
|
Brian Donovan
|
f5bae0b696
|
Remove redundant variable.
|
2015-02-12 18:46:53 -08:00 |
|
Brian Donovan
|
0b042b2681
|
Use the posessive form of "its", not a contraction of "it is".
|
2015-02-12 18:36:02 -08:00 |
|
Brian Donovan
|
83b4d12884
|
Correct a jsdoc comment parameter name.
|
2015-02-12 18:35:35 -08:00 |
|
Brian Donovan
|
98d555498d
|
Remove unused variable.
|
2015-02-12 18:29:14 -08:00 |
|
Sebastian McKenzie
|
298cfac7f4
|
fix linting errors
|
2015-02-12 21:55:31 +11:00 |
|
Sebastian McKenzie
|
e7f6572a3b
|
track arrays to avoid turning something into an array multiple times - closes #757
|
2015-02-12 21:30:48 +11:00 |
|
Sebastian McKenzie
|
e9cfd2df3e
|
fix toConsumableArray helper
|
2015-02-12 16:53:00 +11:00 |
|
Sebastian McKenzie
|
a425136680
|
allow loose = true as an alias for loose = "all"
|
2015-02-12 16:36:17 +11:00 |
|
Sebastian McKenzie
|
3bfa1f610c
|
add bootstrapping base
|
2015-02-12 16:35:04 +11:00 |
|
Sebastian McKenzie
|
4faf2b7730
|
fix namespace name
|
2015-02-12 16:00:54 +11:00 |
|
Sebastian McKenzie
|
4e5d6ee976
|
rice up toConsumableArray helper
|
2015-02-12 16:00:43 +11:00 |
|
Sebastian McKenzie
|
afb1ee79a1
|
fix autoenabling of playground/experimental when used in whitelist/optional
|
2015-02-12 16:00:26 +11:00 |
|
Sebastian McKenzie
|
efe3f30741
|
make minification.renameLocalVariables work
|
2015-02-12 07:46:34 +11:00 |
|
Sebastian McKenzie
|
7953eb560e
|
force experimental and playground flag when whitelisting/optionalising transformers
|
2015-02-12 07:45:50 +11:00 |
|
Sebastian McKenzie
|
faa10df84c
|
add toConsumableArray helper for spread - fixes #757
|
2015-02-12 07:37:40 +11:00 |
|
Sebastian McKenzie
|
ae344aa23e
|
recurse over and duplicate array in toArray in order to handle sparse arrays - fixes #754
|
2015-02-12 00:33:04 +11:00 |
|
Sebastian McKenzie
|
e0bfc72700
|
fix tail call deopt check
|
2015-02-11 20:16:50 +11:00 |
|
Sebastian McKenzie
|
85d33536e0
|
add deopt logging to tail call transformer
|
2015-02-11 15:59:15 +11:00 |
|
Sebastian McKenzie
|
a4932e0e0f
|
add messages to make it easier to make error messages
|
2015-02-11 15:57:30 +11:00 |
|
Sebastian McKenzie
|
db93c52182
|
opt out of tail recursion optimisation if the owner id has been reassigned - fixes #744
|
2015-02-11 11:27:50 +11:00 |
|
Sebastian McKenzie
|
56a953df64
|
add basic support for class property initializers - #619
|
2015-02-11 10:59:44 +11:00 |
|
chico
|
146835e0f1
|
fix broken code, lint and codestyle fixes
|
2015-02-10 18:16:54 +03:00 |
|
chico
|
79ba97872c
|
optimise lodash usage; change contains function to includes for convenience
|
2015-02-10 17:40:53 +03:00 |
|
Sebastian McKenzie
|
897566ccb3
|
more reliable scope construction
|
2015-02-11 00:38:59 +11:00 |
|
Sebastian McKenzie
|
7b8118d8bd
|
default newName in scope.rename to a new uid
|
2015-02-11 00:13:21 +11:00 |
|
Sebastian McKenzie
|
0c1e1e757c
|
default optional builder keys to false
|
2015-02-11 00:02:51 +11:00 |
|
Sebastian McKenzie
|
8598000a69
|
restructure Scope API and internal data structure
|
2015-02-10 23:52:23 +11:00 |
|
Sebastian McKenzie
|
edc8bee38e
|
test for falsy nodes in tail call transformer subtransform
|
2015-02-10 22:39:46 +11:00 |
|
Sebastian McKenzie
|
45b70d7fba
|
fix bad ctrl+f Class -> ClassTransformer replacement
|
2015-02-10 22:39:21 +11:00 |
|
Sebastian McKenzie
|
49a53b26bb
|
add scope renaming helper method - fixes #645 - @RReverser
|
2015-02-10 22:39:07 +11:00 |
|
Sebastian McKenzie
|
329b4e9d21
|
append Transformer to the end of transformer classes
|
2015-02-10 22:12:36 +11:00 |
|
Sebastian McKenzie
|
f1bca0013e
|
refactor tail call transformer into a class - @RReverser
|
2015-02-10 22:11:22 +11:00 |
|
Sebastian McKenzie
|
47b803ef24
|
remove old tail call transformer
|
2015-02-10 18:33:51 +11:00 |
|
Sebastian McKenzie
|
7f61c8b65e
|
add descriptor falsy check to defaults helper - #739
|
2015-02-10 18:33:29 +11:00 |
|
Sebastian McKenzie
|
4fa9aa63a3
|
Merge branch 'better-tail-recursion'
|
2015-02-10 18:04:05 +11:00 |
|
Sebastian McKenzie
|
d582c7c93a
|
Merge pull request #739 from lukescott/defaults-fix
fix defaults helper in strict mode - #738
|
2015-02-10 18:00:26 +11:00 |
|