Mihai Bazon
|
33528002b4
|
Fix wrap_commonjs to include code first
(code could have directives, i.e. "use strict")
|
2015-09-24 17:58:51 +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
|
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
|
7ee8f3512e
|
play nice with propmangle
|
2015-08-25 17:49:29 +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
|
e99bc914ca
|
Do not mangle a name if it is in a destructuring vardef.
|
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 |
|
Fábio Santos
|
824ecfb8a2
|
A little refactoring. Add a new function to get all symbols in a destructuring.
|
2015-08-21 12:04:26 +02:00 |
|
Fábio Santos
|
ceebc466b9
|
prepare AST_Destructuring for the Ents
|
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
|
9f9179ba1a
|
Merge pull request #774 from fabiosantoscode/feature/harmony-symbol
remove Symbol's argument when we're unsafe and Symbol is undeclared
|
2015-08-21 11:51:02 +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
|
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
|
4c12cccff9
|
remove Symbol's argument when we're unsafe and it's undeclared
|
2015-08-14 22:44:16 +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 |
|
Richard van Velzen
|
56c0b834d6
|
Merge pull request #771 from fabiosantoscode/feature/binary-literals
Parse binary number literals
|
2015-08-14 14:59:55 +02:00 |
|
Fábio Santos
|
6f864402d3
|
Parse binary number literals
|
2015-08-14 03:24:54 +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 |
|
Fábio Santos
|
e80ed38772
|
Super!
|
2015-08-07 02:44:53 +01:00 |
|
Richard van Velzen
|
759b3f7d6d
|
Fix mangling of property names which overwrite unmangleable properties
Fixes #747.
|
2015-08-05 21:18:39 +02:00 |
|
Fábio Santos
|
9863f0efa3
|
expand parameters
Conflicts:
test/compress/harmony.js
|
2015-08-05 21:15:23 +02:00 |
|
Richard van Velzen
|
e8664e63ef
|
Merge branch 'master' into harmony
|
2015-08-05 21:13:11 +02:00 |
|
Fábio Santos
|
a68953c491
|
=> with destructuring arguments. Requires a lot of parser changes
|
2015-08-04 00:57:53 +01:00 |
|
Fábio Santos
|
fa5c4f2d03
|
Adding arrow functions
|
2015-08-04 00:57:53 +01:00 |
|
Richard van Velzen
|
66761d7ecf
|
Fix semicolon printing when restricting max line length
Fixes #755
|
2015-07-30 16:13:32 +02:00 |
|
Fábio Santos
|
9d7d365c2b
|
for...of
|
2015-07-29 15:10:54 +02:00 |
|
Chris Cowan
|
9854deb626
|
Re-use the caught exception's error message in the parse error call.
|
2015-07-29 15:06:52 +02:00 |
|
Chris Cowan
|
d6814050dd
|
Give a good error message if an invalid regular expression is found.
|
2015-07-29 15:05:59 +02:00 |
|
Fábio Santos
|
ad344c5be3
|
Add a test to verify that destructuring arguments work with #203 code
|
2015-07-29 14:54:45 +02:00 |
|
Fábio Santos
|
96b89e34a3
|
test that names used in destructurings don't get hoisted
|
2015-07-29 14:54:45 +02:00 |
|
Fábio Santos
|
4644becb9b
|
do not support destructuring arguments and ngInject
|
2015-07-29 14:54:45 +02:00 |
|
Fábio Santos
|
f7460166dd
|
remove trace statement
|
2015-07-29 14:54:45 +02:00 |
|
Fábio Santos
|
32f76f7ff8
|
Starting destructuring.
|
2015-07-29 14:54:45 +02:00 |
|
thorn0
|
252fc65558
|
Advanced way to specify if a function call might have side effects. #400
|
2015-07-29 14:36:42 +02:00 |
|
Mihai Bazon
|
905b601178
|
Don't attempt to negate non-boolean AST_Binary
Fix #751
|
2015-07-22 16:55:55 +03:00 |
|
Mihai Bazon
|
63fb2d5a44
|
Merge pull request #735 from kzc/master
optimizations for && and || where left side is constant expression
|
2015-07-20 09:58:01 +03:00 |
|
Mihai Bazon
|
85a5fc0aeb
|
Don't drop parens in a * (b * c). Close #744
|
2015-06-30 10:10:29 +03:00 |
|