diff --git a/README.md b/old/README.md similarity index 100% rename from README.md rename to old/README.md diff --git a/package.json b/old/package.json similarity index 86% rename from package.json rename to old/package.json index 684fd76..7aeaa19 100644 --- a/package.json +++ b/old/package.json @@ -10,12 +10,16 @@ "@types/node": "^16.7.13", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", + "organic": "link:../organic/target/wasm32-unknown-unknown/js", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "typescript": "^4.4.2", "web-vitals": "^2.1.0" }, + "devDependencies": { + "@babel/plugin-proposal-private-property-in-object": "^7.21.11" + }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", diff --git a/public/favicon.ico b/old/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to old/public/favicon.ico diff --git a/public/index.html b/old/public/index.html similarity index 100% rename from public/index.html rename to old/public/index.html diff --git a/public/logo192.png b/old/public/logo192.png similarity index 100% rename from public/logo192.png rename to old/public/logo192.png diff --git a/public/logo512.png b/old/public/logo512.png similarity index 100% rename from public/logo512.png rename to old/public/logo512.png diff --git a/public/manifest.json b/old/public/manifest.json similarity index 100% rename from public/manifest.json rename to old/public/manifest.json diff --git a/public/robots.txt b/old/public/robots.txt similarity index 100% rename from public/robots.txt rename to old/public/robots.txt diff --git a/src/App.css b/old/src/App.css similarity index 100% rename from src/App.css rename to old/src/App.css diff --git a/src/App.test.tsx b/old/src/App.test.tsx similarity index 100% rename from src/App.test.tsx rename to old/src/App.test.tsx diff --git a/src/App.tsx b/old/src/App.tsx similarity index 100% rename from src/App.tsx rename to old/src/App.tsx diff --git a/src/Editor.css b/old/src/Editor.css similarity index 100% rename from src/Editor.css rename to old/src/Editor.css diff --git a/src/Editor.tsx b/old/src/Editor.tsx similarity index 90% rename from src/Editor.tsx rename to old/src/Editor.tsx index e4632b0..d32ec15 100644 --- a/src/Editor.tsx +++ b/old/src/Editor.tsx @@ -22,6 +22,14 @@ function Editor({ setHighlights([]); } + function buildShadow() { + // foo + } + + if (highlights.length === 0) { + addHighlight(1,5); + } + return (