From 6ab64c8aab99a865ad11ec000ef31f6db3e5373d Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 16 Mar 2024 15:41:42 +0100 Subject: [PATCH] fix linting error ..and smuggle an updated comment in with that. --- extension/lib/button.coffee | 3 ++- extension/lib/utils.coffee | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extension/lib/button.coffee b/extension/lib/button.coffee index 4238b21..a5a28de 100644 --- a/extension/lib/button.coffee +++ b/extension/lib/button.coffee @@ -4,7 +4,8 @@ help = require('./help') translate = require('./translate') utils = require('./utils') -{CustomizableUI} = ChromeUtils.importESModule('resource:///modules/CustomizableUI.sys.mjs') +{CustomizableUI} = + ChromeUtils.importESModule('resource:///modules/CustomizableUI.sys.mjs') BUTTON_ID = 'VimFxButton' diff --git a/extension/lib/utils.coffee b/extension/lib/utils.coffee index ba332f5..613b10e 100644 --- a/extension/lib/utils.coffee +++ b/extension/lib/utils.coffee @@ -309,7 +309,7 @@ onRemoved = (element, fn) -> contentAreaClick = (data, browser) -> # This function is adapted from the same-named one currently in - # mozilla-central/browser/actors/ClickHandlerParent.jsm. Keep in sync! + # mozilla-central/browser/actors/ClickHandlerParent.sys.mjs. Keep in sync! # Note: Our version is shortened substantially and unlike Mozilla, we pass in # the browser object instead of extracting it from the browsingContext. Also, # our version is only invoked from the parent process, so we can pass -- 2.39.3