static L<Dialog> loadDialogs(S themeOrID) { L<Snippet> snippets; if (isSnippetID(themeOrID)) { new Snippet s; s.id = themeOrID; s.title = getSnippetTitle(s.id); snippets = litlist(s); } else snippets = sortSnippetsByID(findDialogsNamed(themeOrID)); //psl(snippets); new L<Dialog> dialogs; for (Snippet s : snippets) { new Dialog d; d.snippet = s; d.good = !cic(javaTok(s.title), "bad"); d.poem = parsePoem(s.id); dialogs.add(d); } //psl(dialogs); ret dialogs; }
Began life as a copy of #1003326
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003330 |
Snippet name: | loadDialogs |
Eternal ID of this version: | #1003330/1 |
Text MD5: | 957d0b1cbe5d9081f96980ebc8ab064f |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-11 01:53:15 |
Source code size: | 539 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 713 / 1210 |
Referenced in: | [show references] |