Sebastian McKenzie
|
c6ce1a248c
|
better slicedToArray helper
|
2015-02-13 20:38:28 +11:00 |
|
Sebastian McKenzie
|
ba9b85f64b
|
only use functions returnType if it hasn't been reassigned
|
2015-02-13 20:36:43 +11:00 |
|
Sebastian McKenzie
|
56c868efee
|
fix incorrect generateUid references in File
|
2015-02-13 18:27:53 +11:00 |
|
Sebastian McKenzie
|
1f3c3832ba
|
fix linting errors
|
2015-02-13 18:25:34 +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
|
1912d1b26a
|
remove ExportSpecifier from t.getBindingIdentifiers as it has none
|
2015-02-13 18:19:27 +11:00 |
|
Sebastian McKenzie
|
ce332b3384
|
fix module binding resolution - fixes #762
|
2015-02-13 17:37:35 +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
|
0a4fc16ca0
|
add type inferrence that expires when a binding is reassigned
|
2015-02-13 15:08:58 +11:00 |
|
Sebastian McKenzie
|
25d8377411
|
normalise JSX attribute strings
|
2015-02-13 15:08:39 +11:00 |
|
Brian Donovan
|
14267a788d
|
Fix a typo.
|
2015-02-12 19:12:09 -08: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
|
9ec9e13aeb
|
Update the jsdoc to indicate that key is optional.
|
2015-02-12 18:36:36 -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 |
|
Brian Donovan
|
928ebda5bc
|
Ensure that templates do not recurse.
Closes #765.
|
2015-02-12 16:10:13 -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
|
5ff0285ba7
|
use space helper instead of pushing a space in IfStatement generation
|
2015-02-12 07:46:21 +11:00 |
|
Sebastian McKenzie
|
d7bea2f325
|
remove legacy jshint comment
|
2015-02-12 07:46:03 +11:00 |
|
Sebastian McKenzie
|
32316ad942
|
clean up t.is
|
2015-02-12 07:45:55 +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
|
bf8f80faf7
|
add general support for declarations to Scope::rename - closes #751
|
2015-02-11 20:14:41 +11:00 |
|
Sebastian McKenzie
|
77fa8bf01c
|
fix isReferenced on AssignmentPattern
|
2015-02-11 20:14:21 +11:00 |
|
Sebastian McKenzie
|
34ca1ac04f
|
delay binding reassignment to after reference replacements - #751
|
2015-02-11 19:48:54 +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 |
|
Sebastian McKenzie
|
017bb6427a
|
Merge pull request #743 from chicoxyzzy/master
optimise lodash usage
|
2015-02-11 08:28:58 +11:00 |
|
Ingvar Stepanyan
|
904a72fb3a
|
Fix rename not establishing binding.
|
2015-02-10 17:18:46 +02:00 |
|