Libraryless. Click here for Pure Java version (3016L/18K).
1 | sS div_class(S className, O contents, O... _) {
|
2 | ret div(contents, paramsPlus(_, class := dropDotPrefix(className))); |
3 | } |
4 | |
5 | sS div_class(S className) {
|
6 | ret div_class(className, ""); |
7 | } |
Began life as a copy of #1003125
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030860 |
| Snippet name: | div_class - HTML <div> with class as first argument |
| Eternal ID of this version: | #1030860/3 |
| Text MD5: | 316bbfb4d2514b57b7143fd3636a32fd |
| Transpilation MD5: | d5c8963d77b815d40e48cdf52bb3feb7 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-04-04 17:39:31 |
| Source code size: | 189 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 525 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |