1 | static S ai_renderNode(WebNode n) { |
2 | ret ai_renderNode(n, "-"); |
3 | } |
4 | |
5 | static S ai_renderNode(WebNode n, S defaultText) { |
6 | if (n == null || empty(n.labels)) ret defaultText; |
7 | ret joinWithComma(web_texts(n)); |
8 | } |
Began life as a copy of #1010834
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: | #1011054 |
Snippet name: | ai_renderNode |
Eternal ID of this version: | #1011054/1 |
Text MD5: | bd1f902ad80a8eab9e2d16fa08047e29 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-11 23:57:51 |
Source code size: | 215 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 441 / 483 |
Referenced in: | [show references] |