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

13
LINES

< > BotCompany Repo | #1032752 // HTMLBase

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4507L) is out of date.

1  
sclass HTMLBase is Htmlable {
2  
  new LinkedHashSet<S> headStuff;
3  
  new LS html;
4  
  
5  
  public S headStuff() { ret htmlCombine(headStuff); }
6  
  public S html() { ret htmlCombine(html); }
7  
  
8  
  S complete() { ret htmlCombine(headStuff(), html()); }
9  
  
10  
  void css(S css) { headStuff.add(hcss(preprocessCSS(css))); }
11  
  
12  
  S preprocessCSS(S css) { ret css; }
13  
}

Author comment

Began life as a copy of #1032737

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032752
Snippet name: HTMLBase
Eternal ID of this version: #1032752/7
Text MD5: 69e8308bb4925bc3ba947b8776fcf178
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 14:49:43
Source code size: 362 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 297
Version history: 6 change(s)
Referenced in: [show references]