Skip to content

Commit 75d503e

Browse files
committed
Update some old BuckleScript mentions
1 parent 30315c0 commit 75d503e

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

pages/docs/manual/latest/bind-to-js-function.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ We've compiled to the same function, but now the usage is much clearer on the Re
6262

6363
**Note**: in this particular case, you need a unit, `()` after `border`, since `border` is an [optional argument at the last position](function.md#optional-labeled-arguments). Not having a unit to indicate you've finished applying the function would generate a warning.
6464

65-
Note that you can change the order of labeled arguments on the ReScript side and BuckleScript will ensure that they appear the right way in the JavaScript output:
65+
Note that you can freely reorder the labels on the ReScript side; they'll always correctly appear in their declaration order in the JavaScript output:
6666

6767
<CodeTab labels={["ReScript", "JS Output"]}>
6868

@@ -105,11 +105,11 @@ In a `bs.send`, the object is always the first argument. Actual arguments of the
105105

106106
### Chaining
107107

108-
Ever used `foo().bar().baz()` chaining ("fluent api") in JS OOP? We can model that in BuckleScript too, through the [pipe operator](pipe.md).
108+
Ever used `foo().bar().baz()` chaining ("fluent api") in JS OOP? We can model that in ReScript too, through the [pipe operator](pipe.md).
109109

110110
## Variadic Function Arguments
111111

112-
You might have JS functions that take an arbitrary amount of arguments. BuckleScript supports modeling those, under the condition that the arbitrary arguments part is homogenous (aka of the same type). If so, add `bs.variadic` to your `external`.
112+
You might have JS functions that take an arbitrary amount of arguments. ReScript supports modeling those, under the condition that the arbitrary arguments part is homogenous (aka of the same type). If so, add `bs.variadic` to your `external`.
113113

114114
<CodeTab labels={["ReScript", "JS Output"]}>
115115

pages/docs/manual/latest/converting-from-js.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function queryResult(usePayload, payload) {
5555
`)
5656
```
5757
```js
58-
// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE
58+
// Generated by ReScript, PLEASE EDIT WITH CARE
5959
'use strict';
6060

6161
const school = require('school');
@@ -110,7 +110,7 @@ function queryResult(usePayload, payload) {
110110
`)
111111
```
112112
```js
113-
// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE
113+
// Generated by ReScript, PLEASE EDIT WITH CARE
114114
'use strict';
115115

116116
const school = require('school');
@@ -203,7 +203,7 @@ let queryResult = (usePayload, payload) => {
203203
}
204204
```
205205
```js
206-
// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE
206+
// Generated by ReScript, PLEASE EDIT WITH CARE
207207
'use strict';
208208

209209
var School = require("school");
@@ -258,7 +258,7 @@ let queryResult = (usePayload, payload) => {
258258
}
259259
```
260260
```js
261-
// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE
261+
// Generated by ReScript, PLEASE EDIT WITH CARE
262262
'use strict';
263263

264264
var School = require("school");

pages/docs/manual/latest/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ BuckleScript is ReScript's old branding, with a sharper focus on proper JS suppo
2020

2121
**What’s the relationship with Reason?**
2222

23-
Reason is a syntax layer for OCaml that BuckleScript also adopted. The current ReScript compiler also supports the old Reason syntax v3.6 for backward compatibility. We will support it for a long time to make sure existing users do not get breaking changes.
23+
See [here](/bucklescript-rebranding). Reason is a syntax layer for OCaml that BuckleScript also adopted. The current ReScript compiler also supports the old Reason syntax v3.6 for backward compatibility. We will support it for a long time to make sure existing users do not get breaking changes.
2424

2525
**I come from Reason/OCaml. Will ReScript keep supporting X?**
2626

pages/docs/manual/v8.0.0/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We reuse the same excellent type system with OCaml, and lots of other high quali
1616

1717
**What’s the relationship with BuckleScript?**
1818

19-
BuckleScript is ReScript's old branding, with a sharper focus on proper JS support and familiarity which we previously couldn't achieve to the degree we wanted, due to us needing to cater to various different crowds.
19+
See [here](/bucklescript-rebranding). BuckleScript is ReScript's old branding, with a sharper focus on proper JS support and familiarity which we previously couldn't achieve to the degree we wanted, due to us needing to cater to various different crowds.
2020

2121
**What’s the relationship with Reason?**
2222

0 commit comments

Comments
 (0)