From 79f7c818860662bc7541202ab67816c35a277759 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Sun, 12 Jan 2025 15:08:06 +0100 Subject: [PATCH] fix: remove Services.jsm fix: related errors on fx128 platform --- addon/chrome/content/lib/js/printUtils.js | 1 - addon/chrome/content/printWrapper.xhtml | 3 --- addon/chrome/content/syncManager.xhtml | 4 ---- addon/chrome/content/templateEditor.xhtml | 4 ---- 4 files changed, 12 deletions(-) diff --git a/addon/chrome/content/lib/js/printUtils.js b/addon/chrome/content/lib/js/printUtils.js index 924ba65..25da2f6 100644 --- a/addon/chrome/content/lib/js/printUtils.js +++ b/addon/chrome/content/lib/js/printUtils.js @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. */ - var { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); var { XPCOMUtils } = ChromeUtils.import( "resource://gre/modules/XPCOMUtils.jsm" ); diff --git a/addon/chrome/content/printWrapper.xhtml b/addon/chrome/content/printWrapper.xhtml index a4b9769..486a82f 100644 --- a/addon/chrome/content/printWrapper.xhtml +++ b/addon/chrome/content/printWrapper.xhtml @@ -21,9 +21,6 @@