forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
15
node_modules/native-run/dist/utils/object.js
generated
vendored
Normal file
15
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