From db0d82c396930b46288a043a4ca521be5105b0ac Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 14 Dec 2017 15:19:09 +0100 Subject: [PATCH] remove save code --- index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/index.js b/index.js index 5edf58e..6d30e7d 100644 --- a/index.js +++ b/index.js @@ -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((