瀏覽代碼

updated type writer

tags/v1.0.0
Remco 9 年之前
父節點
當前提交
1046a79b84
共有 1 個檔案被更改,包括 19 行新增3 行删除
  1. +19
    -3
      transfersh-web/scripts/main.js

+ 19
- 3
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('<br/>')
.waitRange(1000, 1500)
.type('$ #######################')
.put('https://transfer.sh/66nb8/hello.txt ')
.put('<br/>')
.put('$ ')
.waitRange(500, 1000)
.put('<br/>')
.put('$ ')
.waitRange(500, 1000)
.put('<br/>')
.put('$ ')
.waitRange(500, 1000)
.type('transfer hello.txt')
.put('<br/>')
.type('####################################################')
.put(' 100.0%')
.put('<br/>')
.put('https://transfer.sh/eibhM/hello.txt ')
.put('<br/>')
.put('$ ')
.waitRange(1000, 1500)
.type('$ https://transfer.sh/66nb8/hello.txt ')
.put('<br/>')
.put('$ ')

// Smooth scrolling
$('a[href*=#]:not([href=#])').click(function() {


Loading…
取消
儲存