diff options
| author | Li Jin <dragon-fly@qq.com> | 2025-05-21 18:10:32 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2025-05-21 18:10:32 +0800 |
| commit | b21621692e877e5a44508b90049c2bc75091ebac (patch) | |
| tree | 8adecb25d6a955d23cc55dbcf9d4867b2918eec9 /spec | |
| parent | 040f6802ef02f6541e0213de0440f9b1b758d9fc (diff) | |
| download | yuescript-0.28.2.tar.gz yuescript-0.28.2.tar.bz2 yuescript-0.28.2.zip | |
Allowed backcall without parentheses.v0.28.2
Diffstat (limited to '')
| -rw-r--r-- | spec/inputs/backcall.yue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/backcall.yue b/spec/inputs/backcall.yue index 8aadc71..e6b8c21 100644 --- a/spec/inputs/backcall.yue +++ b/spec/inputs/backcall.yue | |||
| @@ -13,9 +13,9 @@ do | |||
| 13 | x > 2 | 13 | x > 2 |
| 14 | 14 | ||
| 15 | do | 15 | do |
| 16 | (data) <- http?.get "ajaxtest" | 16 | data <- http?.get "ajaxtest" |
| 17 | body[".result"]\html data | 17 | body[".result"]\html data |
| 18 | (processed) <- http.post "ajaxprocess", data | 18 | processed <- http.post "ajaxprocess", data |
| 19 | body[".result"]\append processed | 19 | body[".result"]\append processed |
| 20 | <- setTimeout 1000 | 20 | <- setTimeout 1000 |
| 21 | print "done" | 21 | print "done" |
