Skip to content

Commit

Permalink
Merge pull request #23 from bootstrapworld/pcardune-toolkit
Browse files Browse the repository at this point in the history
Cleanup copy/pasta and use new codemirror-blocks toolkit API
  • Loading branch information
pcardune authored Jul 30, 2021
2 parents faed43b + 58ab798 commit 696eb9d
Show file tree
Hide file tree
Showing 87 changed files with 2,742 additions and 12,079 deletions.
6 changes: 0 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"plugins": [
"react-hot-loader/babel",
["@babel/plugin-proposal-decorators", {"legacy": true}],
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-modules-commonjs",
],
"presets": [
[
"@babel/preset-env",
Expand Down
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .hound.yml

This file was deleted.

1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,3 @@ notifications:
on_success: change
on_failure: always
on_start: never
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" = false ]; then
./deploy-ghpages.sh
fi
4 changes: 0 additions & 4 deletions CHANGELOG.md

This file was deleted.

14 changes: 0 additions & 14 deletions CONTRIBUTING.md

This file was deleted.

1 change: 0 additions & 1 deletion Procfile

This file was deleted.

21 changes: 0 additions & 21 deletions _config.yml

This file was deleted.

18 changes: 0 additions & 18 deletions app.json

This file was deleted.

24 changes: 0 additions & 24 deletions deploy-example.sh

This file was deleted.

35 changes: 0 additions & 35 deletions deploy-ghpages.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 4 additions & 5 deletions example/editor-example.js → dev-server/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import WeSchemeCMB from '../src/languages/wescheme';
import './example-page.less';
import {createDebuggingInterface} from "codemirror-blocks/lib/toolkit/debug";

import {WeScheme} from '../src/languages/wescheme';
import bigExampleCode from './ast-test.rkt';

// HACK: expose ALL test utilities, events, etc
Expand All @@ -12,9 +13,7 @@ const smallExampleCode = `(+ 1 2) ;comment\n(+ 3 4)`;
const useBigCode = true;
const exampleCode = useBigCode ? bigExampleCode : smallExampleCode;

// grab the DOM Node to host the editor, and use it to instantiate
const container = document.getElementById('cmb-editor');
const editor = WeSchemeCMB(container, {collapseAll: false, value: exampleCode});
const editor = createDebuggingInterface(WeScheme, exampleCode);

// for debugging purposes
window.editor = editor;
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed doc/blocks-classes.png
Binary file not shown.
Binary file removed doc/blocks-classes.xcf
Binary file not shown.
145 changes: 0 additions & 145 deletions doc/internal/react-algorithm.md

This file was deleted.

Loading

0 comments on commit 696eb9d

Please sign in to comment.