Libraryless. Click here for Pure Java version (5358L/37K).
svoid ele_logUserFeedback(bool plus, O... _) { File f = plus ? ele_userPlusLog() : ele_userMinusLog(); Map map = litorderedmap(paramsPlus(_, computerID := computerID())); logStructureWithDate(f, map); S item = str(firstValue(map)); infoBox("Saved feedback " + (plus ? "+" : "-") + " on " + quote(item)); if (plus) ele_addToListOfEverything(item); }
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: | #1026669 |
Snippet name: | ele_logUserFeedback - first map value is also added to LOE (when feedback is positive) |
Eternal ID of this version: | #1026669/6 |
Text MD5: | 8d65c47862762cd66702bc2f78f5557d |
Transpilation MD5: | 210a853d687f25e9edf8ee6944d88feb |
Author: | stefan |
Category: | javax / ele |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-18 22:11:40 |
Source code size: | 372 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 229 / 334 |
Version history: | 5 change(s) |
Referenced in: | [show references] |