Skip to content

Commit

Permalink
remove reactor code and reviews code
Browse files Browse the repository at this point in the history
* remove reactor code (including `Terminal.Develop`; relates to #29)
* re-introduce more elm-review rules
* removed unused code
* removed `todo`s #12
  • Loading branch information
decioferreira committed Oct 23, 2024
1 parent 000263c commit 76db094
Show file tree
Hide file tree
Showing 130 changed files with 1,584 additions and 3,871 deletions.
12 changes: 12 additions & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const ioRefs = {};
const mVars = {};
const lockedFiles = {};
const processes = {};
let state = null;

const download = function (index, method, url) {
const req = https.request(url, { method: method }, (res) => {
Expand Down Expand Up @@ -433,10 +434,21 @@ const io = {
const stats = fs.fstatSync(fd);
this.send({ index, value: stats.size });
},
hFlush: function (index, fd) {
// TODO no-op?
this.send({ index, value: null });
},
withFile: function (index, filename, mode) {
var fd = fs.openSync(filename, mode);
this.send({ index, value: fd });
},
statePut: function (index, value) {
state = value;
this.send({ index, value: null });
},
stateGet: function (index) {
this.send({ index, value: state });
}
};

const app = Elm.Terminal.Main.init();
Expand Down
Binary file removed reactor/assets/favicon.ico
Binary file not shown.
Binary file removed reactor/assets/source-code-pro.ttf
Binary file not shown.
Binary file removed reactor/assets/source-sans-pro.ttf
Binary file not shown.
157 changes: 0 additions & 157 deletions reactor/assets/styles.css

This file was deleted.

48 changes: 0 additions & 48 deletions reactor/check.py

This file was deleted.

31 changes: 0 additions & 31 deletions reactor/elm.json

This file was deleted.

Loading

0 comments on commit 76db094

Please sign in to comment.