Skip to content

Commit 03acf3c

Browse files
committed
Format APIs
1 parent 80f9823 commit 03acf3c

15 files changed

+12
-22
lines changed

app/docs/api-echo-clear.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@
1616
echo("Hello, World!");
1717
setTimeout(() => echo.clear(), 1000);
1818
}
19-

app/docs/api-echo.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ const numbers = echo(1, 2, 3);
3434

3535
//➜ [ 1, 2, 3 ]
3636
echo(numbers);
37-

app/docs/api-inspect.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ const indentedObject = echo(recho.inspect({a: 1, b: 2, c: 3}, {indent: 2}));
3838

3939
//➜ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …
4040
const array1000 = echo(recho.inspect(new Array(1000).fill(0), {limit: Infinity}));
41-

app/docs/api-interval.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ const interval = recho.interval(1000);
1717

1818
//➜ 1
1919
echo(interval);
20-

app/docs/api-invalidation.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@
2626

2727
invalidation.then(() => clearInterval(timer));
2828
}
29-

app/docs/api-now.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ const now = recho.now();
1616

1717
//➜ 1757422825350
1818
echo(now);
19-

app/docs/api-number.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ const temperature = recho.number(24, {min: -10, max: 40, step: 0.5});
6161
const fahrenheit = (temperature * 9) / 5 + 32;
6262
echo(`The room temperature is ${temperature} °C (${fahrenheit} °F).`);
6363
}
64-

app/docs/api-radio.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ const color = recho.radio(0, ["red", "green", "blue"]);
2121

2222
//➜ "This is a red medium button."
2323
echo(`This is a ${color} ${size} button.`);
24-

app/docs/api-reference.recho.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* available APIs.
1313
*
1414
* Click on any API below to see detailed documentation and examples.
15-
*
15+
*
1616
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1717
* Core APIs
1818
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -28,13 +28,13 @@
2828
* - recho.toggle(value) - Interactive toggle (checkbox) control (https://recho.dev/notebook/docs/api-toggle)
2929
* - recho.radio(index, options) - Interactive radio button group (https://recho.dev/notebook/docs/api-radio)
3030
* - recho.number(value[, options]) - Interactive number input control (https://recho.dev/notebook/docs/api-number)
31-
*
31+
*
3232
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3333
* Generators
3434
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3535
* - recho.now() - Generator that yields the current time continuously (https://recho.dev/notebook/docs/api-now)
3636
* - recho.interval(milliseconds) - Generator that yields values at intervals (https://recho.dev/notebook/docs/api-interval)
37-
*
37+
*
3838
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3939
* Helpers
4040
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

app/docs/api-require.recho.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ const d3 = recho.require("d3-array", "d3-random");
3232

3333
//➜ [ 6, 4, 1, 2, 5, 3, 3, 0, 6, 2 ]
3434
echo(d3.range(10).map(d3.randomInt(0, 10)));
35-

0 commit comments

Comments
 (0)