1 | sS p_nemptyLines_showFirst(int maxLines, Collection l) {
|
2 | if (l(l) <= maxLines) ret p_nemptyLines(l); |
3 | ret p_nemptyLines(listPlus(takeFirst(maxLines, l), "...")); |
4 | } |
Began life as a copy of #1023710
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023711 |
| Snippet name: | p_nemptyLines_showFirst - HTML paragraph with non-empty lines from list. take first n, show "..." if there are more |
| Eternal ID of this version: | #1023711/3 |
| Text MD5: | 874c919636f462a569997c308ce5586b |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-04 10:30:35 |
| Source code size: | 169 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 444 / 518 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |