diff options
| author | Teddy Wing | 2015-10-29 20:15:42 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-10-29 20:15:42 -0400 |
| commit | e8ca6f7a63149ce9125bb5e7660409e2fc4978ef (patch) | |
| tree | 8820f38d1638f1f096fa6fb909f33a8df699ff78 /notifier | |
| parent | 6d9efab0dec6119114ceb9c366dc65373d8a0ecd (diff) | |
| download | vimperator-plugins-asdfghjkl--fix-block-syntax-errors.tar.bz2 | |
asdfghjkl.js: Remove `let` blockasdfghjkl--fix-block-syntax-errors
`let` blocks of the form
let (var1 [= value1] [, var2 [= value2]] [, ..., varN [= valueN]]) block;
are non-standard, as specified in the following sections of the Mozilla
Developer Network page on `let`:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#Non-standard_let_extensions
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let#let_blocks
Removing the `let` block here for forward compatibility.
This change also gets rid of the `self` variable created inside the
`let` block, using an arrow function instead to obviate the need to save
a `this` reference.
Diffstat (limited to 'notifier')
0 files changed, 0 insertions, 0 deletions
