Skip to content

Commit

Permalink
Add in blockly media files
Browse files Browse the repository at this point in the history
  • Loading branch information
acbart committed Jun 2, 2020
1 parent 7a9f6f1 commit 58bb500
Show file tree
Hide file tree
Showing 21 changed files with 87 additions and 16 deletions.
25 changes: 10 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,13 @@
<script type="text/javascript">
var editor = new BlockMirror({
'container': document.getElementById('blockmirror-editor'),
blocklyMediaPath: '../lib/blockly/media/'
//'height': '2000px'
});
editor.addChangeListener(function (event) {
console.log('Change! Better save:', event)
});
editor.setCode('class X:\n """Hello world"""\ndef add(self, a, b):\n a = 0\n return a\n\nx = X()\nx.add(5,3)');
editor.setCode('class X:\n """Hello world"""\n def add(self, a, b):\n a = 0\n return a\n\nx = X()\nx.add(5,3)');

Sk.configure({
__future__: Sk.python3,
Expand Down
Binary file added lib/blockly/media/1x1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/blockly/media/click.mp3
Binary file not shown.
Binary file added lib/blockly/media/click.ogg
Binary file not shown.
Binary file added lib/blockly/media/click.wav
Binary file not shown.
Binary file added lib/blockly/media/delete.mp3
Binary file not shown.
Binary file added lib/blockly/media/delete.ogg
Binary file not shown.
Binary file added lib/blockly/media/delete.wav
Binary file not shown.
Binary file added lib/blockly/media/disconnect.mp3
Binary file not shown.
Binary file added lib/blockly/media/disconnect.ogg
Binary file not shown.
Binary file added lib/blockly/media/disconnect.wav
Binary file not shown.
1 change: 1 addition & 0 deletions lib/blockly/media/dropdown-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/blockly/media/handclosed.cur
Binary file not shown.
Binary file added lib/blockly/media/handdelete.cur
Binary file not shown.
Binary file added lib/blockly/media/handopen.cur
Binary file not shown.
Binary file added lib/blockly/media/pilcrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/blockly/media/quote0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/blockly/media/quote1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/blockly/media/sprites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions lib/blockly/media/sprites.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 58bb500

Please sign in to comment.