Skip to content

Commit

Permalink
fixes eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Apr 30, 2024
1 parent 889a7ea commit 8223314
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/mocompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function (table) {
const compiler = new Compiler(table);

return compiler.compile();
};
}

/**
* Creates a MO compiler object.
Expand Down
2 changes: 1 addition & 1 deletion lib/moparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function (buffer, defaultCharset) {
const parser = new Parser(buffer, defaultCharset);

return parser.parse();
};
}

/**
* Creates a MO parser object.
Expand Down
2 changes: 1 addition & 1 deletion lib/pocompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function (table, options) {
const compiler = new Compiler(table, options);

return compiler.compile();
};
}

/**
* Creates a PO compiler object.
Expand Down
4 changes: 2 additions & 2 deletions lib/poparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function parse (input, options = {}) {
const parser = new Parser(input, options);

return parser.parse();
};
}

/**
* Parses a PO stream, emits translation table in object mode
Expand All @@ -25,7 +25,7 @@ export function parse (input, options = {}) {
*/
export function stream (options = {}, transformOptions = {}) {
return new PoParserTransform(options, transformOptions);
};
}

/**
* Creates a PO parser object. If PO object is a string,
Expand Down

0 comments on commit 8223314

Please sign in to comment.