mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-29 11:35:53 +01:00
Promisify some callbackish functions, and remove spaces around = in default arguments, per Python conventions.
This commit is contained in:
@@ -406,7 +406,7 @@ var Tabs = Module("tabs", {
|
||||
* @param {number} count How many tabs to remove.
|
||||
* @param {boolean} focusLeftTab Focus the tab to the left of the removed tab.
|
||||
*/
|
||||
remove: function remove(tab, count = 1, focusLeftTab = false) {
|
||||
remove: function remove(tab, count=1, focusLeftTab=false) {
|
||||
let res = this.count > count;
|
||||
|
||||
let tabs = this.visibleTabs;
|
||||
|
||||
Reference in New Issue
Block a user