PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/web/terminal/static/js/main.js

https://bitbucket.org/prologic/circuits/
JavaScript | 9 lines | 8 code | 1 blank | 0 comment | 0 complexity | 3694f95f0ac631c00eb5633138aab314 MD5 | raw file
1var options = {
2    custom_prompt: ">>> ",
3    hello_message: "Welcome! Type \'help\' for, well, help."
4}
5
6function main() {
7    $("#terminal").height($(document).height());
8    $("#terminal").terminal("/", options);
9}