diff --git a/demo.tape b/demo.tape new file mode 100644 index 00000000000..1a47caa91ca --- /dev/null +++ b/demo.tape @@ -0,0 +1,30 @@ +Output docs/img/latestDemo.gif + +Set FontSize 20 +Set Width 1400 +Set Height 700 +Set TypingSpeed 100ms + +Type `./target/debug/boa` +Enter +Sleep 4s + +Type `2 + 2` +Enter +Sleep 3s + +Type `const greet = (name) => "Hello, " + name + "!"` +Enter +Sleep 3s + +Type `greet("World")` +Enter +Sleep 3s + +Type `[1, 2, 3].map(x => x * 2)` +Enter +Sleep 3s + +Type `try { null.property } catch(e) { console.log("Caught: " + e.message) }` +Enter +Sleep 4s \ No newline at end of file diff --git a/docs/img/latestDemo.gif b/docs/img/latestDemo.gif index 139958c639e..9c80187f067 100644 Binary files a/docs/img/latestDemo.gif and b/docs/img/latestDemo.gif differ