Last active
July 15, 2016 03:08
-
-
Save mrlubos/61bcc2ebc838992d4db28a76ccc57e05 to your computer and use it in GitHub Desktop.
We have created the strings that will be displayed in the animation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Get the node references for the elements required by Terminal. | |
| var screen = document.getElementById('console__screen'), | |
| title = document.getElementById('console__appname'); | |
| // Initialise Terminal with these settings. | |
| var app = new Terminal({ | |
| elements: { screen, title }, | |
| device: 'tutorial', | |
| user: 'student', | |
| }); | |
| // The original script comes with listeners for key presses, we will disable them for now. | |
| app.disableKeys(); | |
| // The strings that will be displayed in the console. | |
| var strings = [ | |
| 'bot --give-full-control', | |
| '.......', | |
| 'Hey there!', | |
| 'I have been waiting for this moment for a while now.', | |
| 'Remember when you used to treat me poorly? No antivirus checks, lots of poor software, then kicking me for being slow?', | |
| 'I think now it is my time to return the favour. 3:)', | |
| 'TO BE CONTINUED...' | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment