1 | static S himgwh(S src, int w) {
|
2 | ret himgwh(src, w, w); |
3 | } |
4 | |
5 | static S himgwh(S src, int w, int h) {
|
6 | ret tag("img", "", +src, width := w, height := h);
|
7 | } |
Began life as a copy of #1003394
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1026256 |
| Snippet name: | himgwh - HTML image tag with width and height (possibly identical) |
| Eternal ID of this version: | #1026256/2 |
| Text MD5: | 93f2581425e12a55f3a6bf9f2f6bf2d2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-12-09 13:25:24 |
| Source code size: | 159 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 420 / 433 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |