.conkerorrc/init.js
This commit is contained in:
parent
336021fc03
commit
e0f1cc78a2
1 changed files with 13 additions and 1 deletions
|
@ -254,4 +254,16 @@ function read_url_github_command_handler(input)
|
||||||
|| read_url_github_repo_command_handler(input);
|
|| read_url_github_repo_command_handler(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
read_url_handler_list = [read_url_github_command_handler];
|
function read_url_local_port_handler(input)
|
||||||
|
{
|
||||||
|
var m = /^lh (\d{1,5})$/.exec(input);
|
||||||
|
|
||||||
|
if (m) {
|
||||||
|
return "http://localhost:" + m[1];
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
read_url_handler_list = [read_url_local_port_handler,
|
||||||
|
read_url_github_command_handler];
|
||||||
|
|
Loading…
Reference in a new issue