Skip to content
mailmindlin edited this page Sep 25, 2014 · 2 revisions

Startup blocks are blocks implemented for the sake of allowing new users to get a grip on how teach-oop works. As of ɑ0.1.1, there were two startup blocks: "log [Enter Some Text]", and "Alert [Enter Some Text]".
Notes:

  • The first startup blocks were coded into the HTML during pre-alpha, and are commented out in the source HTML.
  • The startup blocks were originally implemented for testing during pre-alpha as the first blocks. For example, they were used to test the custom generation of blocks, and the Alert block was used to test the string-input custom element and block types. As of ɑ0.1.5.1, it is actually a separate type from the other two startup blocks.
  • Though startup blocks are mainly used by beginners, they contain features inaccessible by other blocks (excluding custom blocks), such as Alert and Log.
  • There were originally three startup blocks: "popup 'hi'", "log 'hi'", and "Alert [Enter Some Text]", but "popup 'hi'" was removed in ɑ1.5.9, along with "log 'hi'" being replaced with "log [Enter Some Text]".
  • Currently, you can only see the output of the log block via the JS log (i.e., in dev tools in Google Chrome).
Clone this wiki locally