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 |
|
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
|
adee5023c0
|
What about --mangle-props being on and --mangle being off?
|
2015-08-25 17:52:51 +01: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
|
079aaa0d48
|
Tolerate expansions in vardefs, too!
|
2015-08-21 12:04:26 +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 |
|