Skip to content

Commit 9bc16c4

Browse files
committed
update docs to keep version number the same format
1 parent d9161bc commit 9bc16c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libs/filesystem/jswrap_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ static bool allocateJsFile(JsFile* file,FileMode mode, FileType type) {
279279
"generate" : "jswrap_E_openFile",
280280
"params" : [
281281
["path","JsVar","the path to the file to open."],
282-
["mode","JsVar","The mode to use when opening the file. Valid values for mode are 'r' for read, 'r+' for read+write [2v27+], 'w' for write new, 'w+' for write existing, and 'a' for append. If not specified, the default is 'r'."]
282+
["mode","JsVar","The mode to use when opening the file. Valid values for mode are 'r' for read, 'r+' for read+write (2v27+), 'w' for write new, 'w+' for write existing, and 'a' for append. If not specified, the default is 'r'."]
283283
],
284284
"return" : ["JsVar","A File object"],
285285
"return_object" : "File"

src/jswrap_espruino.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ E.on('touch',t=>{
142142
"generate_full" : "jsvLockAgain(execInfo.hiddenRoot)",
143143
"return" : ["JsVar","The 'hidden root'"]
144144
}
145-
[2v28+] A reference to the "hidden root" that contains
145+
(2v28+) A reference to the "hidden root" that contains
146146
internal Espruino JavaScript variables such as lists
147147
of timers and watches.
148148
@@ -872,9 +872,9 @@ code.
872872
after each command (the default is *to* flush). This is much faster, but can
873873
cause filesystem damage if power is lost without the filesystem unmounted.
874874
* `jitDebug` - When JIT compiling, outputs debug info to the console
875-
* `onErrorSave` - [2v27+] when an uncaught error occurs, write it to a
875+
* `onErrorSave` - (2v27+) when an uncaught error occurs, write it to a
876876
file called `ERROR` in Storage (the file is not updated)
877-
* `onErrorFlash` - [2v27+] when an uncaught error occurs, flash the red LED
877+
* `onErrorFlash` - (2v27+) when an uncaught error occurs, flash the red LED
878878
for 200ms (only on devices with a physical LED)
879879
*/
880880
/*JSON{

0 commit comments

Comments
 (0)