Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1027771 // dm_showMsgsAsConvo

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2771L/18K).

1  
sS dm_showMsgsAsConvo(L<Msg> l) {
2  
  S mod = dm_makeNewModule("#1027521/ConvoPopup");
3  
  fOr (Msg msg : l)
4  
    dm_call(mod, 'addPost, htmlEncode(msg.text), !msg.fromUser);
5  
  dm_showModule(mod);
6  
  ret mod;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027771
Snippet name: dm_showMsgsAsConvo
Eternal ID of this version: #1027771/1
Text MD5: 6429479da8064634ce00d19cda7e52aa
Transpilation MD5: 3ef5e1f5279312e1a8d12ca73dd19c78
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-10 18:49:38
Source code size: 210 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 208 / 296
Referenced in: [show references]