forked from olcxjas-softworks/LarpixClient
fix gitignore again
This commit is contained in:
parent
ce5a1e330b
commit
5da5c2afe2
3329 changed files with 364540 additions and 3 deletions
15
electron/node_modules/native-run/dist/utils/object.js
generated
vendored
Normal file
15
electron/node_modules/native-run/dist/utils/object.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.sort = void 0;
|
||||
function sort(obj) {
|
||||
const entries = [...Object.entries(obj)];
|
||||
entries.sort(([k1], [k2]) => k1.localeCompare(k2));
|
||||
for (const [key] of entries) {
|
||||
delete obj[key];
|
||||
}
|
||||
for (const [key, value] of entries) {
|
||||
obj[key] = value;
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
exports.sort = sort;
|
||||
Loading…
Add table
Add a link
Reference in a new issue