1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-19 10:57:59 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Evan Niessen-Derry
3cc3914a5c Fixed the completion display issues
Fat-arrow function syntax has a lexical `this`, which causes
`this.groups` to be undefined, throwing an error upon sourcing. I
believe this is because it's pulling the `this` variable from the object
syntax constructor immediately surrounding it, instead of from the
completion.noscriptSites function, but I'm not positive.
2016-06-29 22:18:04 -05:00
Evan Niessen-Derry
05da8c52e2 Fixed Array comprehensions in noscript.js
The array comprehension syntax changed in FF 46. Where before you would
do, `[X for (Y in Z)]` now you do `[for (Y of Z) Y]`.

I've also changed the destructuring assignment on line 314, as they
aren't supported, and stop the variables from being bound. See [here]
for more information on that. Now we bind to a single variable, and pull
out the first and second items as needed.

[here] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Array_comprehensions#SpiderMonkey-specific_implementation_notes
2016-06-29 22:14:25 -05:00
Kris Maglione
174f4ec636 Ugh. 2015-12-20 19:10:52 -08:00
Kris Maglione
5bb2e31150 Add plugins. 2015-12-20 03:49:29 -08:00