mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-04 21:53:24 +01:00
cleanup
This commit is contained in:
parent
da12939253
commit
dd8ab3263c
4
index.js
4
index.js
@ -39,7 +39,7 @@ window.downloadStl = () => {
|
||||
};
|
||||
|
||||
window.downloadSketch = () => {
|
||||
store.dispatch( (dispatch, getState) => {
|
||||
store.dispatch((dispatch, getState) => {
|
||||
const state = getState();
|
||||
const json = sketchDataToJSON(state.sketcher.present);
|
||||
const blob = JSONToBlob(json);
|
||||
@ -50,7 +50,7 @@ window.downloadSketch = () => {
|
||||
window.addEventListener('keydown',(event) => {
|
||||
// downloadSketch
|
||||
const key = keycode(event);
|
||||
if (key=='s') downloadSketch();
|
||||
if (key === 's') downloadSketch();
|
||||
console.log(event.shiftKey, key);
|
||||
});
|
||||
|
||||
|
@ -83,7 +83,7 @@ module.exports = {
|
||||
favicon: './favicon.ico',
|
||||
template: require('html-webpack-template'),
|
||||
inject: false,
|
||||
mobile: true,
|
||||
mobile: false,
|
||||
scripts: appMode ? ['cordova.js'] : null,
|
||||
appMountId: 'app',
|
||||
meta: [
|
||||
|
Loading…
Reference in New Issue
Block a user