mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-02 15:03:53 +00:00
Remove unused pos and use shorthand
This commit is contained in:
parent
bbb0e739b6
commit
7b7ecf2377
1 changed files with 2 additions and 3 deletions
|
|
@ -253,7 +253,6 @@ function parseComand({ start, makiFile, length, pos }) {
|
|||
const command = {
|
||||
offset: pos,
|
||||
start,
|
||||
pos,
|
||||
opcode,
|
||||
arg: null,
|
||||
argType: opcodeToArgType(opcode),
|
||||
|
|
@ -307,8 +306,8 @@ function parse(buffer) {
|
|||
const extraVersion = makiFile.readUInt32LE();
|
||||
const classes = readClasses(makiFile);
|
||||
const methods = readMethods(makiFile);
|
||||
const variables = readVariables({ makiFile: makiFile, classes });
|
||||
readConstants({ makiFile: makiFile, variables });
|
||||
const variables = readVariables({ makiFile, classes });
|
||||
readConstants({ makiFile, variables });
|
||||
const bindings = readBindings(makiFile);
|
||||
const commands = decodeCode({ makiFile });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue