File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ : Add `E.internal` as a way to access the 'hidden root' containing Espruino internal variables that previously needed `global["\xff"]`
2
+
1
3
2v27 : nRF5x: Ensure Bluetooth notifications work correctly when two separate connections use the same handle for their characteristics
2
4
nRF5x: Remove handlers from our handlers array when a device is disconnected
3
5
Bangle.js: Fix wrapString when wrapping a non-UTF8 string containing UTF8 characters (fix #2633)
Original file line number Diff line number Diff line change @@ -134,6 +134,21 @@ E.on('touch',t=>{
134
134
```
135
135
*/
136
136
137
+
138
+ /*JSON{
139
+ "type" : "staticproperty",
140
+ "class" : "E",
141
+ "name" : "internal",
142
+ "generate_full" : "jsvLockAgain(execInfo.hiddenRoot)",
143
+ "return" : ["JsVar","The 'hidden root'"]
144
+ }
145
+ [2v28+] A reference to the "hidden root" that contains
146
+ internal Espruino JavaScript variables such as lists
147
+ of timers and watches.
148
+
149
+ On earlier firmwares this was accessible via `global["\xff"]`
150
+ */
151
+
137
152
/*JSON{
138
153
"type" : "staticmethod",
139
154
"class" : "E",
You can’t perform that action at this time.
0 commit comments