Line 1 of this example adds the status of the Http call to the editor while line 5 adds the ID of each repo to the editor with every run of the map() function. The following example uses both and you can copy & paste this code in your default app. You can trigger magic comments by adding //? to the end of a line – or by using it via an inline comment /*?*/. Magic Comments only work if you use buffered output – you can configure the Output Type and Magic Comments in the general settings. They allow you to debug your code inline without changing the result of the whole script. Magic comments are a powerful feature that came to Tinkerwell with version 3.
0 Comments
Leave a Reply. |