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

11
LINES

< > BotCompany Repo | #1012250 // versionsOfSnippetWithText

JavaX fragment (include)

static L<SnippetVersion> versionsOfSnippetWithText(S snippetID) {
  ret versionsOfSnippetWithText(getVersionsOfSnippet(snippetID));

}

static L<SnippetVersion> versionsOfSnippetWithText(L<SnippetVersion> versions) {
  for (SnippetVersion v : versions)
    if (v.versionID != 0)
      v.previousValue = loadPage(tb_mainServer() + "/tb/get-version.php?id=" + psI(v.snippetID) + "&v_id=" + v.versionID + standardCredentials());
  ret versions;
}

Author comment

Began life as a copy of #1012244

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1012250
Snippet name: versionsOfSnippetWithText
Eternal ID of this version: #1012250/7
Text MD5: ed3981060458a237cd81f679be88b250
Author: stefan
Category: javax / snippets
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-03 15:34:17
Source code size: 455 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 448 / 505
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012252 - textChangesOfSnippet
#1013627 - versionsOfSnippet - starts with current text - return texts as L<S>