1 | static S hrefresh(S target) { |
2 | ret hrefresh(0, target); |
3 | } |
4 | |
5 | static S hrefresh(double seconds) { |
6 | ret hrefresh(seconds, ""); |
7 | } |
8 | |
9 | static S hrefresh(double seconds, S target) { |
10 | ret tag("meta", "", "http-equiv", "refresh", "content", iceil(seconds) + (nempty(target) ? "; url=" + target : "")); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002965 |
Snippet name: | hrefresh - make HTML "refresh" tag |
Eternal ID of this version: | #1002965/4 |
Text MD5: | 9a82ca9b8dafe9e5519eb3ccc1dbc388 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-20 03:52:33 |
Source code size: | 304 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 767 / 807 |
Version history: | 3 change(s) |
Referenced in: | [show references] |