remove line breaks

This commit is contained in:
casperlamboo 2016-05-09 11:40:54 +02:00 committed by Simon Voordouw
parent 83fa401071
commit 597df613c9

View File

@ -2,27 +2,23 @@ export default class {
constructor() {
this.config = {};
}
updateConfig(config) {
for (var i in config) {
for (const i in config) {
this.config[i] = config[i];
}
return this;
}
startCode() {
const { startCode } = this.config;
const gcode = this._subsituteVariables(startCode);
return gcode;
}
endCode() {
const { endCode } = this.config;
const gcode = this._subsituteVariables(endCode);
return gcode;
}
_subsituteVariables(gcode) {
let {
temperature,