1 | static S titleDashSnippet(long id) { |
2 | ret titleDashSnippet(fsI(id)); |
3 | } |
4 | |
5 | static S titleDashSnippet(S id) { |
6 | id = formatSnippetID(id); |
7 | ret getSnippetTitle(id) + " - " + id; |
8 | } |
9 | |
10 | static S titleDashSnippet(Snippet s) { |
11 | ret s == null ? "-" : s.id + " - " + s.title; |
12 | } |
Began life as a copy of #1006972
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: | #1007009 |
Snippet name: | titleDashSnippet - return "title - #snippetID" |
Eternal ID of this version: | #1007009/1 |
Text MD5: | 5625e1ec03585b4958decaad76d4aefc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-25 14:23:42 |
Source code size: | 279 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 502 |
Referenced in: | [show references] |