mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-28 07:45:09 +00:00
Compare commits
2 Commits
1.19.2b
...
space-rout
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
15a908739d | ||
|
|
f842c945ce |
@@ -15,5 +15,6 @@ DIRS += [
|
|||||||
"urlbar",
|
"urlbar",
|
||||||
"toolkit",
|
"toolkit",
|
||||||
"sessionstore",
|
"sessionstore",
|
||||||
|
"space-routing",
|
||||||
"share",
|
"share",
|
||||||
]
|
]
|
||||||
|
|||||||
17
src/zen/space-routing/ZenSpaceRouting.sys.mjs
Normal file
17
src/zen/space-routing/ZenSpaceRouting.sys.mjs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/* 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/. */
|
||||||
|
|
||||||
|
import { JSONFile } from "resource://gre/modules/JSONFile.sys.mjs";
|
||||||
|
|
||||||
|
class nsZenSpaceRouting {
|
||||||
|
#jsonFile = null;
|
||||||
|
|
||||||
|
constructor() {
|
||||||
|
this.#jsonFile = new JSONFile({
|
||||||
|
path: PathUtils.join(PathUtils.profileDir, "space-routing.json"),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export var ZenSpaceRouting = new nsZenSpaceRouting();
|
||||||
7
src/zen/space-routing/moz.build
Normal file
7
src/zen/space-routing/moz.build
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# 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/.
|
||||||
|
|
||||||
|
EXTRA_JS_MODULES.zen += [
|
||||||
|
"ZenSpaceRouting.sys.mjs",
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user