Fábio Santos
|
5b553aafe2
|
Destructuring parameters with defaults. function x({ foo, bar } = {}) { }
|
2016-01-19 19:22:22 +01:00 |
|
Fábio Santos
|
084437bc6d
|
Non-destructuring default parameters
|
2016-01-19 19:22:22 +01:00 |
|
Richard van Velzen
|
7f3dbb6df7
|
Merge branch 'master' into harmony
|
2015-12-26 17:59:38 +01:00 |
|
Richard van Velzen
|
60c4030a4d
|
Merge pull request #874 from kzc/fix-conditionals
#873 Fix `conditionals` optimizations with default compress options
|
2015-12-26 14:28:33 +01:00 |
|
Anthony Van de Gejuchte
|
0cabedc526
|
Disable loop optimization for parse-only tests
|
2015-12-18 19:20:56 +01:00 |
|
Anthony Van de Gejuchte
|
5cd26c005b
|
Add tests
|
2015-12-18 14:39:48 +01:00 |
|
kzc
|
774bda13cd
|
#873 Fix conditionals optimizations with default compress options
|
2015-11-24 13:27:50 -05:00 |
|
Fábio Santos
|
a800356ad0
|
Implement new.target
|
2015-11-21 14:48:23 +00:00 |
|
Fábio Santos
|
e076abdbf2
|
Mangle class names correctly
|
2015-11-21 13:59:18 +00:00 |
|
Fábio Santos
|
425613b0d2
|
mangle class names
|
2015-11-21 12:20:20 +00:00 |
|
kzc
|
bd0ae6569f
|
return undefined optimization no longer uses return_void_0 option
|
2015-10-29 08:19:12 +01:00 |
|
kzc
|
841a661071
|
more tests for return undefined optimization
|
2015-10-29 08:19:12 +01:00 |
|
kzc
|
7491d07666
|
optimize return undefined and return void 0
|
2015-10-29 08:19:12 +01:00 |
|
Richard van Velzen
|
335e349314
|
Allow specification beautify options in tests
Caught an error in #847 as well - `output` wasn't passed anywhere which led to an exception. `options` was available though.
|
2015-10-28 20:50:01 +01:00 |
|
Fábio Santos
|
9ffed2bea6
|
static properties
|
2015-10-27 12:24:37 +00:00 |
|
Fábio Santos
|
5f7cb6939c
|
Starting ES6 classes
|
2015-10-27 12:24:37 +00:00 |
|
Fábio Santos
|
64e7a00399
|
Accept keyword names as concise method names
|
2015-10-27 09:31:16 +01:00 |
|
Fábio Santos
|
c99eaae360
|
Make concise methods work with propmangle
|
2015-10-27 09:31:16 +01:00 |
|
Fábio Santos
|
da8c428a07
|
Just making sure that concise methods are separated by commas. When classes come, they won't be necessary.
|
2015-10-27 09:31:16 +01:00 |
|
Fábio Santos
|
0d8dea9538
|
start concise methods
|
2015-10-27 09:31:16 +01:00 |
|
Fábio Santos
|
2cce61c564
|
Allow 'of' to be a name.
|
2015-10-26 20:56:59 +00:00 |
|
Richard van Velzen
|
6be9c752d5
|
Merge branch 'master' into harmony
|
2015-10-20 20:12:10 +02:00 |
|
kzc
|
dff54a6552
|
Fix other operator output related to <!-- or -->
|
2015-10-13 01:17:10 -04:00 |
|
Fábio Santos
|
76ed083e47
|
Using single quotes
|
2015-10-12 21:39:19 +01:00 |
|
Fábio Santos
|
b31918bbf0
|
computed properties
|
2015-10-12 21:38:20 +01:00 |
|
kzc
|
9f1f21b810
|
Output -- > instead of --> in expressions. Escape <!-- and --> within string literals.
|
2015-10-12 10:19:17 +03:00 |
|
Richard van Velzen
|
b14496c742
|
Merge branch 'master' into harmony
Conflicts:
lib/compress.js
|
2015-10-12 08:54:44 +02:00 |
|
kzc
|
0d952ae43d
|
add asm.js test
|
2015-10-07 10:00:28 +02:00 |
|
Ville Lautanala
|
5fd12451f9
|
Control keeping function arguments with a single option
|
2015-09-14 19:38:45 +02:00 |
|
Richard van Velzen
|
991fa99655
|
Merge branch 'master' into harmony
|
2015-09-13 14:17:45 +02:00 |
|
Fábio Santos
|
3d7f73114d
|
Add a test to make sure future generations don't hoist lets
|
2015-09-13 14:15:53 +02:00 |
|
Fábio Santos
|
dde9e293df
|
parse, output the let statement
|
2015-09-13 14:15:53 +02:00 |
|
Richard van Velzen
|
34685a6f55
|
Merge pull request #794 from fabiosantoscode/feature/harmony-template-strings-2
Harmony: template strings
|
2015-09-08 21:23:41 +02:00 |
|
Fábio Santos
|
2fac2bbfe4
|
Remove unused state variable in_parameters, and also remove unreachable code (try_an_object always returned an object!)
|
2015-09-05 23:01:29 +01:00 |
|
Fábio Santos
|
242c61be94
|
prefixed template strings, like "String.rawfoo\nbar".
|
2015-09-05 22:48:38 +01:00 |
|
Fábio Santos
|
e1cb1a0e3c
|
Parse and output ES6 template strings. Yikes!
|
2015-09-05 22:32:57 +01:00 |
|
Richard van Velzen
|
fcde6109b0
|
Fix bad parsing of new new x()() constructs
Fixes #739
|
2015-08-27 12:29:36 +03:00 |
|
Fábio Santos
|
dc5db9b6ca
|
Starting destructuring expressions
|
2015-08-25 17:49:27 +01:00 |
|
Richard van Velzen
|
e3bd223dac
|
Don't change sequences that influence lexical binding in calls
Fixes #782
|
2015-08-25 10:53:35 +02:00 |
|
Fábio Santos
|
d4f17f29ae
|
Destructuring vardef in for..of and for..in
|
2015-08-21 12:04:26 +02:00 |
|
Fábio Santos
|
025d34bfa2
|
Add holes in destructuring defs, also make them nestable
|
2015-08-21 12:04:26 +02:00 |
|
Fábio Santos
|
c44c2d6c21
|
Parse and compress destructuring VarDefs
|
2015-08-21 12:04:26 +02:00 |
|
Richard van Velzen
|
35b31bdd4e
|
Merge branch 'master' into harmony
|
2015-08-21 11:58:35 +02:00 |
|
Richard van Velzen
|
c8b82583d2
|
Merge pull request #773 from fabiosantoscode/harmony-typeof-arrows
Fix evaluating the typeof an arrow function.
|
2015-08-21 11:51:42 +02:00 |
|
Richard van Velzen
|
872231a0ca
|
Merge pull request #775 from fabiosantoscode/feature/binary-literals
Parse ES6 number literals, round 2
|
2015-08-21 11:50:39 +02:00 |
|
Fábio Santos
|
36420183fd
|
s/binary/number/g
|
2015-08-17 16:23:43 +01:00 |
|
Fábio Santos
|
a8f8aa518b
|
Add new-style octal literals and make the B and the O case insensitive.
|
2015-08-17 11:50:56 +01:00 |
|
Fábio Santos
|
dcce4e5c66
|
Fix evaluating the typeof an arrow function. Using evaluate on used to cause a crash.
|
2015-08-14 22:05:42 +01:00 |
|
Christopher Chedeau
|
3ff0b9e0c9
|
[Fix] --define replaces SymbolRefs in LHS of assignments
See #208 for context
|
2015-08-10 11:22:36 -07:00 |
|
Richard van Velzen
|
8909e9e1cb
|
Merge pull request #763 from fabiosantoscode/feature/harmony-super
Feature/harmony super
|
2015-08-07 08:54:20 +02:00 |
|