static void web_performReplaceX(Web swapWeb, Web web) { for (Pair<WebNode> p : web_relationsOfTypeIC(swapWeb, "replace with")) { S lbl1 = web_text(web_forwardRelationTo(p.a, "X")); S lbl2 = web_text(web_forwardRelationTo(p.b, "X")); if (lbl1 != null && lbl2 != null) web_replaceLabelsX(web, web_text(p.a), lbl1, web_text(p.b), lbl2); } }
Began life as a copy of #1010007
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010012 | 
| Snippet name: | web_performReplaceX | 
| Eternal ID of this version: | #1010012/1 | 
| Text MD5: | 7a069fe8bdfc5c7eea87671a21d52e9d | 
| Author: | stefan | 
| Category: | javax / a.i. | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-08-28 21:17:04 | 
| Source code size: | 366 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 708 / 689 | 
| Referenced in: | [show references] |