/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
- var options = {
- custom_prompt: ">>> ",
- hello_message: "Welcome! Type \'help\' for, well, help."
- }
- function main() {
- $("#terminal").height($(document).height());
- $("#terminal").terminal("/", options);
- }