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)

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

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: 412 / 436
Version history: 2 change(s)
Referenced in: [show references]