mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
@@ -30,11 +30,9 @@
|
||||
|
||||
// This file is the JavaScript implementation of base/utils/fs.cpp
|
||||
|
||||
if (window.qBittorrent === undefined)
|
||||
window.qBittorrent = {};
|
||||
|
||||
window.qBittorrent.Filesystem = (function() {
|
||||
const exports = function() {
|
||||
window.qBittorrent ??= {};
|
||||
window.qBittorrent.Filesystem ??= (() => {
|
||||
const exports = () => {
|
||||
return {
|
||||
PathSeparator: PathSeparator,
|
||||
fileExtension: fileExtension,
|
||||
@@ -71,5 +69,4 @@ window.qBittorrent.Filesystem = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.Filesystem);
|
||||
|
||||
Reference in New Issue
Block a user