1 | static S serveHttpAndOpenChrome(int... preferredPorts) { |
2 | int port = serveHttp_preferredPorts(preferredPorts); // find a free port |
3 | S url = print("http://localhost:" + port); |
4 | openChrome(url); |
5 | ret url; |
6 | } |
Began life as a copy of #1009209
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009553 |
Snippet name: | serveHttpAndOpenChrome - synonym of serveHttpOpenBrowser |
Eternal ID of this version: | #1009553/3 |
Text MD5: | b9e985bd9c1752a5ee246f588825a3c5 |
Author: | stefan |
Category: | javax / desktop / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-24 01:57:58 |
Source code size: | 213 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 512 / 548 |
Version history: | 2 change(s) |
Referenced in: | [show references] |