mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Use common JS for stuff imported by eslint
This commit is contained in:
parent
2e21057b94
commit
36762dcbab
2 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import std from "./std.json";
|
||||
const std = require("./std.json");
|
||||
|
||||
// Between myself and the author of the decompiler, a number of manual tweaks
|
||||
// have been made to our current object definitions. This function recreates
|
||||
|
|
@ -30,4 +30,4 @@ std.B4DCCFFF81FE4bcc961B720FD5BE0FFF.functions.push({
|
|||
result: "Int",
|
||||
});
|
||||
|
||||
export default std;
|
||||
module.exports = std;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import stdPatched from "./objectData/stdPatched";
|
||||
import pldir from "./objectData/pldir.json";
|
||||
import config from "./objectData/config.json";
|
||||
const stdPatched = require("./objectData/stdPatched");
|
||||
const pldir = require("./objectData/pldir.json");
|
||||
const config = require("./objectData/config.json");
|
||||
|
||||
const objects = { ...stdPatched, ...pldir, ...config };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue