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

5
LINES

< > BotCompany Repo | #1016336 // invtag - HTML tag with reversed parameter order (contents last)

JavaX fragment (include)

sS invtag(S tag, O... paramsAndContents) {
  if (even(l(paramsAndContents))) ret htag(tag, "", paramsAndContents);
  O contents = last(paramsAndContents);
  ret tag(tag, contents, dropLastFromObjectArray(paramsAndContents));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016336
Snippet name: invtag - HTML tag with reversed parameter order (contents last)
Eternal ID of this version: #1016336/3
Text MD5: 56340f674499ffa7c35d5aff7c228988
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-15 15:29:11
Source code size: 230 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 344 / 367
Version history: 2 change(s)
Referenced in: [show references]