Loading files
class GrblHalLineParserResultJSON {
static parse(line) {
// {...} json line
const r = line.match(/^({.*})$/);
if (!r) {
return null;
}
const payload = {
code: r[1],
};
console.log(payload);
return {
type: GrblHalLineParserResultJSON,
payload: payload,
};
}
}
export default GrblHalLineParserResultJSON;
bb6208f20This file is pinned to the selected release. Download the original to open it in your design tool.