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

10
LINES

< > BotCompany Repo | #1008446 // Test getHtmlTagParameter with minus parameter names (auto-info="bla")

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1865L/14K/43K).

!7

p {
  S s = [[<tag auto-info="bla">]];
  printStruct(tok_joinMinusIdentifiers(javaTok(s)));
  set getHtmlTagParameters_debug;
  assertEquals("bla", getHtmlTagParameter(s, "auto-info");
  assertTrue(htmlCheckParams(s, "auto-info", "bla"));
  print("OK");
}

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: #1008446
Snippet name: Test getHtmlTagParameter with minus parameter names (auto-info="bla")
Eternal ID of this version: #1008446/6
Text MD5: 98213d426bce726e2c65582fa1f8672c
Transpilation MD5: 8d34285c7f6a6ff7c8c0a5ffa8a48009
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-15 19:40:09
Source code size: 268 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 521 / 618
Version history: 5 change(s)
Referenced in: [show references]