Skip to content

Commit dfad980

Browse files
committed
continue tweak wording
1 parent 46f0954 commit dfad980

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+156
-149
lines changed

jscomp/bsb/bsb_templates.ml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ let root = ([
7171
\ \"watch\": \"bsb -make-world -w\"\n\
7272
\ },\n\
7373
\ \"keywords\": [\n\
74-
\ \"BuckleScript\"\n\
74+
\ \"ReScript\"\n\
7575
\ ],\n\
7676
\ \"author\": \"\",\n\
7777
\ \"license\": \"MIT\",\n\
@@ -158,7 +158,7 @@ let root = ([
158158
\ \"clean\": \"bsb -clean-world\"\n\
159159
\ },\n\
160160
\ \"keywords\": [\n\
161-
\ \"BuckleScript\"\n\
161+
\ \"ReScript\"\n\
162162
\ ],\n\
163163
\ \"author\": \"\",\n\
164164
\ \"license\": \"MIT\",\n\
@@ -254,7 +254,7 @@ let root = ([
254254
\ \"watch\": \"bsb -make-world -w\"\n\
255255
\ },\n\
256256
\ \"keywords\": [\n\
257-
\ \"BuckleScript\"\n\
257+
\ \"ReScript\"\n\
258258
\ ],\n\
259259
\ \"author\": \"\",\n\
260260
\ \"license\": \"MIT\",\n\
@@ -267,7 +267,7 @@ let root = ([
267267
File("demo.ml",
268268
"\n\
269269
\n\
270-
let () = Js.log \"Hello, BuckleScript\""
270+
let () = Js.log \"Hello, ReScript\""
271271
);
272272
File("test.cpp.ml",
273273
"\n\
@@ -315,7 +315,7 @@ let root = ([
315315
\ \"start\": \"bsb -make-world -w\"\n\
316316
\ },\n\
317317
\ \"keywords\": [\n\
318-
\ \"BuckleScript\"\n\
318+
\ \"ReScript\"\n\
319319
\ ],\n\
320320
\ \"author\": \"\",\n\
321321
\ \"license\": \"MIT\",\n\
@@ -407,7 +407,7 @@ let root = ([
407407
\ \"watch\": \"bsb -make-world -w\"\n\
408408
\ },\n\
409409
\ \"keywords\": [\n\
410-
\ \"BuckleScript\"\n\
410+
\ \"ReScript\"\n\
411411
\ ],\n\
412412
\ \"author\": \"\",\n\
413413
\ \"license\": \"MIT\",\n\
@@ -420,7 +420,7 @@ let root = ([
420420
File("demo.ml",
421421
"\n\
422422
\n\
423-
let () = Js.log \"Hello, BuckleScript\""
423+
let () = Js.log \"Hello, ReScript\""
424424
)
425425
])
426426
]);
@@ -588,7 +588,7 @@ let root = ([
588588
\ \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n\
589589
\ },\n\
590590
\ \"keywords\": [\n\
591-
\ \"BuckleScript\",\n\
591+
\ \"ReScript\",\n\
592592
\ \"ReasonReact\",\n\
593593
\ \"reason-react\"\n\
594594
\ ],\n\
@@ -926,7 +926,7 @@ let root = ([
926926
])
927927
]);
928928
File("watcher.js",
929-
"// This is our simple, robust watcher. It hooks into the BuckleScript build\n\
929+
"// This is our simple, robust watcher. It hooks into the ReScript build\n\
930930
// system to listen for build events.\n\
931931
// See package.json's `start` script and `./node_modules/.bin/bsb --help`\n\
932932
\n\
@@ -1046,7 +1046,7 @@ let root = ([
10461046
\ \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n\
10471047
\ },\n\
10481048
\ \"keywords\": [\n\
1049-
\ \"BuckleScript\",\n\
1049+
\ \"ReScript\",\n\
10501050
\ \"ReasonReact\",\n\
10511051
\ \"reason-react\"\n\
10521052
\ ],\n\
@@ -1761,7 +1761,7 @@ let root = ([
17611761
\ \"watch\": \"bsb -make-world -w -ws _\"\n\
17621762
\ },\n\
17631763
\ \"keywords\": [\n\
1764-
\ \"BuckleScript\"\n\
1764+
\ \"ReScript\"\n\
17651765
\ ],\n\
17661766
\ \"author\": \"\",\n\
17671767
\ \"license\": \"MIT\",\n\

jscomp/bsb/templates/basic-reason/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"clean": "bsb -clean-world"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/bsb/templates/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "bsb -make-world -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/bsb/templates/generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "bsb -make-world -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
let () = Js.log "Hello, BuckleScript"
3+
let () = Js.log "Hello, ReScript"

jscomp/bsb/templates/minimal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "bsb -make-world -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/bsb/templates/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "bsb -make-world -w"
88
},
99
"keywords": [
10-
"BuckleScript"
10+
"ReScript"
1111
],
1212
"author": "",
1313
"license": "MIT",

jscomp/bsb/templates/node/src/demo.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

22

3-
let () = Js.log "Hello, BuckleScript"
3+
let () = Js.log "Hello, ReScript"

jscomp/bsb/templates/react-hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
1111
"keywords": [
12-
"BuckleScript",
12+
"ReScript",
1313
"ReasonReact",
1414
"reason-react"
1515
],
Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// This is our simple, robust watcher. It hooks into the BuckleScript build
1+
// This is our simple, robust watcher. It hooks into the ReScript build
22
// system to listen for build events.
33
// See package.json's `start` script and `./node_modules/.bin/bsb --help`
44

55
// Btw, if you change this file and reload the page, your browser cache
66
// _might_ not pick up the new version. If you're in Chrome, do Force Reload.
77

88
var websocketReloader;
9-
var LAST_SUCCESS_BUILD_STAMP = localStorage.getItem('LAST_SUCCESS_BUILD_STAMP') || 0;
9+
var LAST_SUCCESS_BUILD_STAMP =
10+
localStorage.getItem("LAST_SUCCESS_BUILD_STAMP") || 0;
1011
// package.json's `start` script's `bsb -ws _` means it'll pipe build events
1112
// through a websocket connection to a default port of 9999. This is
1213
// configurable, e.g. `-ws 5000`
@@ -15,25 +16,31 @@ var webSocketPort = 9999;
1516
function setUpWebSocket() {
1617
if (websocketReloader == null || websocketReloader.readyState !== 1) {
1718
try {
18-
websocketReloader = new WebSocket(`ws://${window.location.hostname}:${webSocketPort}`);
19+
websocketReloader = new WebSocket(
20+
`ws://${window.location.hostname}:${webSocketPort}`
21+
);
1922
websocketReloader.onmessage = (message) => {
2023
var newData = JSON.parse(message.data).LAST_SUCCESS_BUILD_STAMP;
2124
if (newData > LAST_SUCCESS_BUILD_STAMP) {
2225
LAST_SUCCESS_BUILD_STAMP = newData;
23-
localStorage.setItem('LAST_SUCCESS_BUILD_STAMP', LAST_SUCCESS_BUILD_STAMP);
26+
localStorage.setItem(
27+
"LAST_SUCCESS_BUILD_STAMP",
28+
LAST_SUCCESS_BUILD_STAMP
29+
);
2430
// Refresh the page! This will naturally re-run everything,
2531
// including our moduleserve which will re-resolve all the modules.
2632
// No stable build!
2733
location.reload(true);
2834
}
29-
30-
}
35+
};
3136
} catch (exn) {
32-
console.error("The watcher tried to connect to web socket, but failed. Here's the message:");
37+
console.error(
38+
"The watcher tried to connect to web socket, but failed. Here's the message:"
39+
);
3340
console.error(exn);
3441
}
3542
}
36-
};
43+
}
3744

3845
setUpWebSocket();
3946
setInterval(setUpWebSocket, 2000);

0 commit comments

Comments
 (0)