remove save code

This commit is contained in:
casperlamboo 2017-12-14 15:19:09 +01:00
parent 6c02343da3
commit db0d82c396

View File

@ -3,7 +3,6 @@ import { JSONLoader } from 'three/src/loaders/JSONLoader.js';
import { Interface } from 'doodle3d-slicer';
import fileURL from '!url-loader!./models/shape.json';
import { render } from 'react-dom';
import fileSaver from 'file-saver';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import injectTapEventPlugin from 'react-tap-event-plugin';
import jss from 'jss';
@ -23,11 +22,6 @@ jss.createStyleSheet({
}
}).attach();
const downloadGCode = ({ gcode: { gcode } }) => {
const file = new File([gcode], 'gcode.gcode', { type: 'text/plain' });
fileSaver.saveAs(file);
};
const jsonLoader = new JSONLoader();
jsonLoader.load(fileURL, geometry => {
render((