Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1002939 // rawLink - link to a page in current bot

JavaX fragment (include)

1  
static S rawLink(S pageName) {
2  
  ret "/" + parseSnippetID(getProgramID()) + "/raw" + addPrefix("/", pageName);
3  
}
4  
5  
static S rawLink() {
6  
  ret "/" + parseSnippetID(getProgramID()) + "/raw";
7  
}
8  
9  
static S rawLink(S pageName, S contents) {
10  
  ret ahref(rawLink(pageName), contents);
11  
}

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: #1002939
Snippet name: rawLink - link to a page in current bot
Eternal ID of this version: #1002939/1
Text MD5: 1ff3601a4e2137f6d1889616420c9947
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-04 19:13:43
Source code size: 287 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 670 / 729
Referenced in: [show references]