@@ -125,7 +125,7 @@ module ResultPane = {
125125 <div className = {"p-2 " ++ highlightClass }>
126126 <span className = prefixColor > {React .string (prefixText )} </span >
127127 <span className = "font-medium text-gray-40" >
128- {React .string (j ` Line $row, column $column:` )}
128+ {React .string (` Line ${ row-> Belt.Int.toString} , column ${ column-> Belt.Int.toString} :` )}
129129 </span >
130130 <AnsiPre className = "whitespace-pre-wrap " > shortMsg </AnsiPre >
131131 </div >
@@ -247,7 +247,7 @@ module ResultPane = {
247247 "Formatting completed with 0 errors"
248248 } else {
249249 let toStr = Api .Lang .toString (toLang )
250- j ` Switched to $toStr with 0 errors`
250+ ` Switched to ${ toStr} with 0 errors`
251251 }
252252 <PreWrap > {React .string (msg )} </PreWrap >
253253 | Conv (Fail ({fromLang , toLang , details })) =>
@@ -268,11 +268,11 @@ module ResultPane = {
268268 // We keep both cases though in case we change things later
269269 let msg = if fromLang === toLang {
270270 let langStr = Api .Lang .toString (toLang )
271- j ` The code is not valid $langStr syntax.`
271+ ` The code is not valid ${ langStr} syntax.`
272272 } else {
273273 let fromStr = Api .Lang .toString (fromLang )
274274 let toStr = Api .Lang .toString (toLang )
275- j ` Could not convert from "$fromStr" to "$toStr" due to malformed syntax:`
275+ ` Could not convert from "${ fromStr} " to "${ toStr} " due to malformed syntax:`
276276 }
277277 <div >
278278 <PreWrap className = "text-16 mb-4" > {React .string (msg )} </PreWrap >
@@ -310,7 +310,9 @@ module ResultPane = {
310310 | Nothing =>
311311 let syntax = Api .Lang .toString (targetLang )
312312 <PreWrap >
313- {React .string (j ` This playground is now running on compiler version $compilerVersion with $syntax syntax` )}
313+ {React .string (
314+ ` This playground is now running on compiler version ${compilerVersion} with ${syntax} syntax` ,
315+ )}
314316 </PreWrap >
315317 }
316318
@@ -995,7 +997,7 @@ module ControlPanel = {
995997 }
996998
997999 module ShareButton = {
998- let copyToClipboard : string => bool = %raw (j `
1000+ let copyToClipboard : string => bool = %raw (`
9991001 function (str ) {
10001002 try {
10011003 const el = document .createElement (' textarea' );
@@ -1348,7 +1350,7 @@ module App = {
13481350// Feel free to play around and compile some
13491351// ReScript code!
13501352
1351- let initialReContent = j ` Js.log("Hello Reason 3.6!");`
1353+ let initialReContent = ` Js.log("Hello Reason 3.6!");`
13521354
13531355/**
13541356Takes a `versionStr` starting with a "v" and ending in major.minor.patch (e.g.
0 commit comments