Anthony Van de Gejuchte
|
26641f3fb2
|
Allow operator names as getters/setters
Fixes #919
Fix provided by @kzc
|
2016-01-19 19:28:51 +01:00 |
|
Richard van Velzen
|
c80ec625ec
|
Add test for bad template string parsing
|
2016-01-19 19:22:22 +01:00 |
|
Fábio Santos
|
028ff64e9a
|
Default values inside destructurings
|
2016-01-19 19:22:22 +01:00 |
|
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 |
|
Anthony Van de Gejuchte
|
70e5b6f15b
|
Add some tests for comment-filters through api
Also never bother comment options to filter comment5/shebang comments
as they have their custom filter.
|
2016-01-19 19:14:19 +01:00 |
|
Anthony Van de Gejuchte
|
8439c8ba98
|
Make arguments test slightly more strict
|
2016-01-15 00:04:05 +01:00 |
|
Anthony Van de Gejuchte
|
5c4e470d43
|
Add scope test for arguments
|
2016-01-14 22:32:46 +01:00 |
|
Anthony Van de Gejuchte
|
6605d15783
|
Never mangle arguments and keep them in their scope
Fixes #892
Helped-by: kzc
|
2016-01-14 19:45:52 +01:00 |
|
Richard van Velzen
|
ac8db977b9
|
Merge pull request #905 from avdg/unit-tests
Add unit tests
|
2016-01-14 08:54:40 +01:00 |
|
Anthony Van de Gejuchte
|
88b77ddaa9
|
Add test case for line continuation
|
2016-01-13 00:34:56 +01:00 |
|
Mihai Bazon
|
fe4e9f9d97
|
Fix hoisting the var in ForIn
Close #913
|
2016-01-05 13:56:52 +02:00 |
|
Anthony Van de Gejuchte
|
8c6af09ae0
|
Add mocha tests
|
2015-12-27 22:38:20 +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 |
|
Fábio Santos
|
364d20f8fb
|
Add mangle = { ...mangleopts } option to tests.
|
2015-11-20 18:11:17 +00:00 |
|
Mihai Bazon
|
619adb0308
|
Replace util.error with console.log
|
2015-11-12 11:47:37 +02: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
|
246ec416c0
|
Merge branch 'master' into harmony
|
2015-10-20 21:58:58 +02:00 |
|
Fábio Santos
|
b5623b19d4
|
Fix #836
|
2015-10-20 19:48:56 +01: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 |
|
Mihai Bazon
|
1940fb682c
|
Fix tests
|
2015-10-12 10:27:00 +03: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 |
|
Mihai Bazon
|
6637c267a5
|
Fix mozilla-ast after module loading changes
Need to explicitly qualify stuff now, since it's not evaluated in some
global scope.
Ref #636
|
2015-09-24 18:13:21 +03: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 |
|