1 | static new ThreadLocal<Int> ai_html_shortenTextForDisplay_length; |
2 | |
3 | static S ai_html_shortenTextForDisplay(S s) { |
4 | Int max = ai_html_shortenTextForDisplay_length!; |
5 | ret max == null ? s : shorten(s, max); |
6 | } |
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: | #1011930 |
Snippet name: | ai_html_shortenTextForDisplay |
Eternal ID of this version: | #1011930/1 |
Text MD5: | d8bf08430bf1b6a0619a8ba4a8d6ad03 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-10 04:12:46 |
Source code size: | 211 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 505 / 498 |
Referenced in: | [show references] |