Libraryless. Click here for Pure Java version (4174L/24K).
1 | sS hlink(S url) { |
2 | if (empty(url)) ret ""; |
3 | if (endsWith(url, ".css")) |
4 | ret hcss(url); |
5 | else |
6 | ret hscript(url); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032732 |
Snippet name: | hlink - include CSS or JS |
Eternal ID of this version: | #1032732/1 |
Text MD5: | 6ea5baacdbf36304bca77c90dd0ffc05 |
Transpilation MD5: | cfec43621fda65158a1cb7467b6f2e2c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-04 02:39:58 |
Source code size: | 128 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 128 / 204 |
Referenced in: | [show references] |