diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-03-19 00:00:30 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-08-13 10:38:07 -0500 |
commit | de25e333e17f05140b82793776dbce51fdec296d (patch) | |
tree | 855b403b873e271308c59aaa455d73982552b9ea /legacy/RDFManifestConverter.sys.mjs | |
parent | 312a791ae03bddd725dee063344801f959cfe44d (diff) | |
download | legacywolf-de25e333e17f05140b82793776dbce51fdec296d.tar.gz legacywolf-de25e333e17f05140b82793776dbce51fdec296d.zip |
Turn into an extension
Diffstat (limited to 'legacy/RDFManifestConverter.sys.mjs')
-rw-r--r-- | legacy/RDFManifestConverter.sys.mjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/RDFManifestConverter.sys.mjs b/legacy/RDFManifestConverter.sys.mjs index 12abd27..dc8df42 100644 --- a/legacy/RDFManifestConverter.sys.mjs +++ b/legacy/RDFManifestConverter.sys.mjs @@ -1,12 +1,11 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 InstallRDF = (function() { "use strict"; var EXPORTED_SYMBOLS = ["InstallRDF"]; -import {RDFDataSource} from "resource://legacy/RDFDataSource.sys.mjs"; - const RDFURI_INSTALL_MANIFEST_ROOT = "urn:mozilla:install-manifest"; function EM_R(aProperty) { @@ -39,7 +38,7 @@ class Manifest { } } -export class InstallRDF extends Manifest { +return class InstallRDF extends Manifest { _readProps(source, obj, props) { for (let prop of props) { let val = getProperty(source, prop); @@ -107,3 +106,4 @@ export class InstallRDF extends Manifest { return result; } } +})() |