Skip to content

Commit a53f007

Browse files
committed
forgot to pull
2 parents 04766d2 + b222161 commit a53f007

File tree

105 files changed

+5146
-2216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+5146
-2216
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,12 @@ jobs:
2020
node-version: 20
2121
cache: yarn
2222

23-
- name: Install dependencies (apt)
24-
run: |
25-
sudo apt-get update && \
26-
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
27-
2823
- name: Install Dependencies 📦
2924
run: yarn install --frozen-lockfile
3025

3126
- name: Build Modules 🔧
3227
run: yarn build --tsc --lint
3328

34-
3529
- name: include java json
3630
run: cp -r src/java build
3731

.github/workflows/pull-request.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ jobs:
2020
node-version: 20
2121
cache: yarn
2222

23-
- name: Install dependencies (apt)
24-
run: |
25-
sudo apt-get update && \
26-
sudo apt-get install -y --no-install-recommends libxi-dev libgl1-mesa-dev
27-
2823
- name: Install dependencies
2924
run: yarn install --frozen-lockfile
3025

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ build/*
77
/package-lock.json
88
coverage/
99

10-
scripts/build/database.json
11-
scripts/bin.js
10+
scripts/dist
1211

1312
# Compiled source #
1413
###################

.husky/post-checkout

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/post-merge

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/post-rewrite

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn yarnhook

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn test --color

.husky/pre-push

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
yarn build --lint --tsc

.vscode/settings.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

devserver/src/components/Playground.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import createContext from 'js-slang/dist/createContext';
88
import { Chapter, Variant } from 'js-slang/dist/types';
99
import { stringify } from 'js-slang/dist/utils/stringify';
1010
import React, { useCallback } from 'react';
11-
import { HotKeys } from 'react-hotkeys';
1211
import mockModuleContext from '../mockModuleContext';
1312
import type { InterpreterOutput } from '../types';
1413
import Workspace, { type WorkspaceProps } from './Workspace';
@@ -39,7 +38,7 @@ const createContextHelper = () => {
3938
return tempContext;
4039
};
4140

42-
const Playground: React.FC<{}> = () => {
41+
const Playground: React.FC = () => {
4342
const [dynamicTabs, setDynamicTabs] = React.useState<SideContentTab[]>([]);
4443
const [selectedTabId, setSelectedTab] = React.useState(testTabContent.id);
4544
const [codeContext, setCodeContext] = React.useState<Context>(createContextHelper());
@@ -111,7 +110,6 @@ const Playground: React.FC<{}> = () => {
111110

112111
const evalCode = () => {
113112
codeContext.errors = [];
114-
// eslint-disable-next-line no-multi-assign
115113
codeContext.moduleContexts = mockModuleContext.moduleContexts = {};
116114

117115
runInContext(editorValue, codeContext)
@@ -191,12 +189,10 @@ const Playground: React.FC<{}> = () => {
191189
};
192190

193191
return (
194-
<HotKeys
195-
className={classNames('Playground', Classes.DARK)}
196-
>
192+
<div className={classNames('Playground', Classes.DARK)}>
197193
<OverlayToaster ref={toaster} />
198194
<Workspace {...workspaceProps} />
199-
</HotKeys>
195+
</div>
200196
);
201197
};
202198

0 commit comments

Comments
 (0)