[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

example[spec] Remove a thread

" remove #Settings thread from IMLT8 app "
" self is a MobileApplication "
| jsObject js threads tasksThread |

jsObject := self basicAt: #spec. 
threads := (JS @ jsObject) @ #threads. 

" remove #Settings thread from IMLT8 app "
(JS @ threads) delete: 4

" update MobileApplication threads "
self threads removeIndex: 4

" refresh opened rendered UI "
self open