Commit graph

6484 commits

Author SHA1 Message Date
Tim Mickel
06eaee9108 Additional adapter tests for new cases 2016-06-07 11:04:44 -04:00
Tim Mickel
4eb63cf33e Test for CREATE event with substack 2016-06-07 10:49:12 -04:00
Tim Mickel
b3af70f63c Merge pull request #52 from LLK/bugfix/stack-click
Fix handling of stack click
2016-06-07 08:13:40 -04:00
Tim Mickel
f158af18b1 Case problem with blocks.js in index.js 2016-06-06 16:19:57 -04:00
Tim Mickel
53372c5704 Fixing case problem with blocks.js tests 2016-06-06 16:17:12 -04:00
Tim Mickel
c8e050494c Update "anatomy of a block" README for new structure 2016-06-06 16:03:40 -04:00
Tim Mickel
7732409102 Update unit tests for new adapter, blocks module 2016-06-06 15:59:21 -04:00
Tim Mickel
feea7a0566 Update CREATE event fixture to have outerHTML 2016-06-06 15:59:07 -04:00
Tim Mickel
fd95d3045d Fix property check of topLevel in createBlock 2016-06-06 15:58:54 -04:00
Tim Mickel
f63e261892 Remove breaking check for blockId 2016-06-06 15:58:40 -04:00
Tim Mickel
0efe7e2b27 Fix block events for flyout blocks 2016-06-06 15:44:13 -04:00
Tim Mickel
dbb31462ad Extend getSubstack to support multiple substacks 2016-06-06 15:31:14 -04:00
Tim Mickel
9be33089a8 Refactor block management into a separate module. 2016-06-06 15:29:34 -04:00
Tim Mickel
25c3a38c16 Allow top-level creation of shadow blocks in adapter 2016-06-06 14:57:58 -04:00
Tim Mickel
aa152fd604 Rewrite of moveBlock to better reflect Blockly 2016-06-06 14:55:01 -04:00
Tim Mickel
214daa8087 Always unset topLevel in deleteStack_
Blocks may have topLevel set even if they are not present in this.stacks
2016-06-06 14:54:32 -04:00
Tim Mickel
18e4228399 Update runtime's handling of delete for new blocks structure 2016-06-06 14:53:59 -04:00
Tim Mickel
285c2792ef Only add to stacks if topLevel is true in CREATE 2016-06-06 14:53:42 -04:00
Tim Mickel
e5b677c7f6 Fix naming of MOVE event in index.js 2016-06-06 14:53:27 -04:00
Tim Mickel
9fef9d7edd Fix up adapter's domToBlock 2016-06-06 14:44:51 -04:00
Tim Mickel
0dfc72893c Update Runtime createBlock for new structure; _addStack helper. 2016-06-06 14:12:43 -04:00
Tim Mickel
b28c50e6a5 Rewrite of adapter to support trees of blocks, inputs 2016-06-06 14:09:27 -04:00
Tim Mickel
8626644293 Merge pull request #55 from tmickel/feature/playground-buttons
Add green flag and stop button to playground
2016-06-01 15:37:51 -04:00
Tim Mickel
9006b4450f Merge pull request #54 from tmickel/feature/playground-dark
Add dark-mode colors to VM playground
2016-06-01 15:37:42 -04:00
Tim Mickel
988dd344bd Merge pull request #53 from tmickel/feature/playground-stack-highlighting
Add stack highlighting to playground blocks.
2016-06-01 15:37:34 -04:00
Tim Mickel
bbc66a95a7 Add green flag and stop button to playground 2016-06-01 14:17:18 -04:00
Tim Mickel
ed35ccfa86 Add dark-mode colors to VM playground 2016-06-01 14:00:46 -04:00
Tim Mickel
690745aaf0 Add stack highlighting to playground blocks. 2016-06-01 13:54:33 -04:00
Tim Mickel
9ce3783940 Fix handling of stack click
Previously was improperly reading `e.type`.
2016-06-01 13:48:54 -04:00
Tim Mickel
1ab391281d Merge pull request #48 from tmickel/feature/dev-playground
Add framework for a demo/dev playground; show auto-updating block representation.
2016-06-01 13:16:50 -04:00
Tim Mickel
e92832772f Absolute version number for highlightjs dependency 2016-06-01 13:13:52 -04:00
Tim Mickel
6593c399c1 Update to use syntax highlighting in block explorer 2016-06-01 13:13:52 -04:00
Tim Mickel
4df584bc20 Turn off spell check in playground block explorer; increase font size. 2016-06-01 13:13:52 -04:00
Tim Mickel
8374d116bf Add a block representation explorer to playground 2016-06-01 13:13:41 -04:00
Tim Mickel
1c253df3a2 Add a basic demo playground with scratch-blocks 2016-06-01 13:13:41 -04:00
Tim Mickel
aee9447899 Merge pull request #47 from tmickel/feature/stackclick
Add stack click event handler
2016-06-01 13:11:44 -04:00
Tim Mickel
6a34c584de Update build for "stack click" 2016-06-01 10:27:11 -04:00
Tim Mickel
cfed4e1bba Add "stack click" event handler to VM
See: https://github.com/LLK/scratch-blocks/pull/360
2016-06-01 10:26:06 -04:00
Andrew Sliwinski
2d834de766 Update README.md 2016-05-17 18:09:15 -07:00
Andrew Sliwinski
b8463706b2 Add dependency badges 2016-05-17 06:44:54 -07:00
Andrew Sliwinski
6df9775cc9 Update travis badge 2016-05-17 06:43:24 -07:00
Andrew Sliwinski
22208e22bd Update README.md 2016-05-17 05:49:54 -07:00
Andrew Sliwinski
852690d7cb Merge pull request #42 from LLK/develop
Release 0.1.0
2016-05-10 12:44:38 -04:00
Andrew Sliwinski
306466686a Add subhead to readme 2016-05-10 12:40:52 -04:00
Andrew Sliwinski
85f0d5cd22 Add donation notice to readme 2016-05-10 12:18:03 -04:00
Andrew Sliwinski
fe1340c4ab Update package version to 'pre release' 2016-05-10 12:15:27 -04:00
Andrew Sliwinski
d76e7a440a Update build 2016-05-10 12:12:37 -04:00
Andrew Sliwinski
ef2da9d40c Update documentation 2016-05-10 12:12:31 -04:00
Tim Mickel
b30ee492be Merge pull request #41 from tmickel/bugfix/39
Resolve existing motor timeout (instead of reject)
2016-05-09 14:34:50 -04:00
Tim Mickel
4d4682912d Resolve existing motor timeout (instead of reject) 2016-05-09 14:18:33 -04:00