1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-26 18:52:26 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
dkearns
0c1e9b470b Merge pull request #167 from futuro/fix-noscript
Fix noscript plugin
2016-08-23 19:03:59 +10:00
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
Zheng Chaoping
195ea78efb Use Object.defineProperty instead of __defineGetter__/__defineSetter__
In Firefox 48+, the __defineSetter__/__defineSetter__ is deprecated,
so use Object.defineProperty instead.
2016-05-04 22:53:49 +08:00
Nelo Wallus
d8caefc53e Add descriptions 2016-01-15 15:04:57 +01:00
Nelo Wallus
4f3a3bd135 Add tabattachto and tabdetachfrom
tabattach and tabdetach were already taken.

Line 249: For some reason tabs.match() doesn't return a generator in the
    script as it should while it works in the prompt.
    So instead we have this.
2016-01-15 14:31:17 +01:00
Nelo Wallus
2a5f1fe30e Add tab{next,previous}visible to jump over folds
Required since tab{next,previous} open closed folds
2016-01-15 14:19:39 +01:00
Nelo Wallus
dfdc45ec54 Fix applying to parent fold 2016-01-15 14:16:41 +01:00
Nelo Wallus
627c5ae9a1 Add tabbartoggle, tabclosechildren, tabclosewithchildren 2016-01-08 19:53:59 +01:00
Nelo Wallus
d8e002fb43 Fix to handle multiple arguments and allow completion 2016-01-08 19:53:06 +01:00
Nelo Wallus
d7bc7cb3bf Fix 'ga' not properly closing parent fold 2016-01-08 19:50:55 +01:00
Nelo Wallus
dc136dc30b Allow to pass options for commands 2016-01-08 19:45:08 +01:00
Nelo Wallus
0897c7a804 Fix typo 2016-01-08 19:44:12 +01:00
Doug Kearns
54fb39d139 Add a contrib directory to plugins/. 2016-01-09 01:07:37 +11:00
Nelo Wallus
bf8993226d Add treestyletabs.js 2015-12-31 17:41:47 +01:00
Kris Maglione
31c6df0257 Update curl plugin. 2015-12-30 15:56:42 -08:00
Kris Maglione
174f4ec636 Ugh. 2015-12-20 19:10:52 -08:00
Kris Maglione
916ea412a5 Get rid of most remaining comprehensions. 2015-12-20 15:53:43 -08:00
Kris Maglione
5bb2e31150 Add plugins. 2015-12-20 03:49:29 -08:00