mirror of
https://codeberg.org/vlw/monkeydo.git
synced 2025-09-13 23:53:41 +02:00
Update README.md
Fixed sample output (and song lyrics, very important stuff)
This commit is contained in:
parent
32493065fc
commit
f53bea079e
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ const methods = {
|
||||||
<pre lang="json">
|
<pre lang="json">
|
||||||
{
|
{
|
||||||
"tasks": [
|
"tasks": [
|
||||||
[0,"myJavaSriptMethod","I see skies of","blue"],
|
[0,"myJavaSriptMethod","I see trees of","green"],
|
||||||
[300,"myJavaSriptMethod","red","roses too"],
|
[300,"myJavaSriptMethod","red","roses too"],
|
||||||
[160,"myJavaSriptMethod","I see them","bloom"],
|
[160,"myJavaSriptMethod","I see them","bloom"],
|
||||||
[1200,"myJavaSriptMethod","for","me and you"]
|
[1200,"myJavaSriptMethod","for","me and you"]
|
||||||
|
@ -73,7 +73,7 @@ monkey.do();
|
||||||
</ol>
|
</ol>
|
||||||
<p>The example above would be the same as running:</p>
|
<p>The example above would be the same as running:</p>
|
||||||
<pre lang="js">
|
<pre lang="js">
|
||||||
console.log("I see skies","of blue"); // Right away
|
console.log("I see trees of","green"); // Right away
|
||||||
console.log("red","roses too"); // 300 milliseconds after the first
|
console.log("red","roses too"); // 300 milliseconds after the first
|
||||||
console.log("I see them","bloom"); // 160 milliseconds after that one
|
console.log("I see them","bloom"); // 160 milliseconds after that one
|
||||||
console.log("for","me and you"); // and lastly, 1200 after that
|
console.log("for","me and you"); // and lastly, 1200 after that
|
||||||
|
|
Loading…
Add table
Reference in a new issue