From 1046a79b842a0fa128d46b71acbf47753ccdf06e Mon Sep 17 00:00:00 2001 From: Remco Date: Mon, 20 Oct 2014 17:23:12 +0200 Subject: [PATCH] updated type writer --- transfersh-web/scripts/main.js | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/transfersh-web/scripts/main.js b/transfersh-web/scripts/main.js index 872f61b..912ef04 100644 --- a/transfersh-web/scripts/main.js +++ b/transfersh-web/scripts/main.js @@ -22,16 +22,32 @@ $(document).ready(function() { .withMinimumSpeed(17) .withMaximumSpeed(25) .build(); + tw.put('$ ') .waitRange(500, 1000) .type('curl --upload-file ./hello.txt https://transfer.sh/hello.txt') .put('
') - .waitRange(1000, 1500) - .type('$ #######################') + .put('https://transfer.sh/66nb8/hello.txt ') + .put('
') + .put('$ ') + .waitRange(500, 1000) + .put('
') + .put('$ ') + .waitRange(500, 1000) + .put('
') + .put('$ ') + .waitRange(500, 1000) + .type('transfer hello.txt') + .put('
') + .type('####################################################') + .put(' 100.0%') + .put('
') + .put('https://transfer.sh/eibhM/hello.txt ') .put('
') + .put('$ ') .waitRange(1000, 1500) - .type('$ https://transfer.sh/66nb8/hello.txt ') .put('
') + .put('$ ') // Smooth scrolling $('a[href*=#]:not([href=#])').click(function() {