The Visual Programming Editor for Webduino.
Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs.
First, make sure bower has been installed.
$ git clone https://github.com/webduinoio/webduino-blockly.git $ cd webduino-blockly $ bower installNow, webduino-blockly has been successfully installed. Open your browser point it to index.html.
<!DOCTYPE html> <html> <head> <title>Webduino</title> </head> <body> <script src="//webduino.io/components/webduino-js/dist/webduino-all.min.js"></script> <script src="webduino-blockly.js"></script> <script> // Paste the code generated by Blockly here. </script> </body> </html>Require the module first by:
require('webduino-blockly');Then paste-in the code generated by Blockly.
Webduino-Blockly is released under the MIT License.
Please read LICENSE for more information.