pegjs/lib
David Majda 6fa8ad63f9 Replace some functions with arrow functions
Because arrow functions work rather differently than normal functions (a
bad design mistake if you ask me), I decided to be conservative with the
conversion.

I converted:

  * event handlers
  * callbacks
  * arguments to Array.prototype.map & co.
  * small standalone lambda functions

I didn't convert:

  * functions assigned to object literal properties (the new shorthand
    syntax would be better here)
  * functions passed to "describe", "it", etc. in specs (because Jasmine
    relies on dynamic "this")

See #442.
2016-09-12 16:07:43 +02:00
..
compiler Replace some functions with arrow functions 2016-09-12 16:07:43 +02:00
utils Minimize variable scope 2016-09-09 12:42:20 +02:00
.eslintrc.json ESLint: Set environments better 2016-01-29 14:50:38 +01:00
grammar-error.js Replace "var" with "let" & "const" 2016-09-09 10:44:00 +02:00
parser.js Replace some functions with arrow functions 2016-09-12 16:07:43 +02:00
peg.js Replace some functions with arrow functions 2016-09-12 16:07:43 +02:00