mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 19:13:49 +01:00
remove comments
This commit is contained in:
parent
166ba4fcc3
commit
5c9416a05d
2
index.js
2
index.js
@ -37,9 +37,7 @@ window.addEventListener('drop', async (event) => {
|
|||||||
case 'JSON':
|
case 'JSON':
|
||||||
const url = URL.createObjectURL(file);
|
const url = URL.createObjectURL(file);
|
||||||
const data = await fetch(url).then(result => result.json());
|
const data = await fetch(url).then(result => result.json());
|
||||||
console.log('data: ', data);
|
|
||||||
const sketchData = await JSONToSketchData(data);
|
const sketchData = await JSONToSketchData(data);
|
||||||
// await filesDB.importFile(file, name);
|
|
||||||
store.dispatch(actions.openSketch({data:sketchData}));
|
store.dispatch(actions.openSketch({data:sketchData}));
|
||||||
break;
|
break;
|
||||||
case 'JPG':
|
case 'JPG':
|
||||||
|
Loading…
Reference in New Issue
Block a user