Skip to content

Commit

Permalink
Add more info about #76
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Apr 23, 2014
1 parent 3b5c45f commit 0b44b41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/jswrap_interactive.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,14 @@ void jswrap_interface_trace(JsVar *root) {
"generate_full" : "jsiSetTodo(TODO_RESET)"
}*/
/*JSON{ "type":"function", "name" : "print",
"description" : "Print the supplied string",
"description" : [ "Print the supplied string(s) to the console",
"**Note:** If you're connected to a computer (not a wall adaptor) via USB but **you are not running a terminal app** then when you print data Espruino may pause execution and wait until the computer requests the data it is trying to print."],
"generate" : "jswrap_interface_print",
"params" : [ [ "text", "JsVarArray", ""] ]
}*/
/*JSON{ "type":"staticmethod", "class":"console", "name" : "log",
"description" : "Print the supplied string(s)",
"description" : [ "Print the supplied string(s) to the console",
"**Note:** If you're connected to a computer (not a wall adaptor) via USB but **you are not running a terminal app** then when you print data Espruino may pause execution and wait until the computer requests the data it is trying to print." ],
"generate" : "jswrap_interface_print",
"params" : [ [ "text", "JsVarArray", "One or more arguments to print"] ]
}*/
Expand Down

0 comments on commit 0b44b41

Please sign in to comment.