Skip to content

Commit 003c47c

Browse files
committed
fixed spelling of JavaScript
1 parent 2ec6cb2 commit 003c47c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

text/source/_sphinxext/xogeny/gen_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _generate_makefile():
234234

235235
with open(os.path.join(path, "text", "results", res+".mos"), "w+") as sfp:
236236
sfp.write(genres.render(**context));
237-
# Write out script to generate Javascript
237+
# Write out script to generate JavaScript
238238
with open(os.path.join(path, "text", "results", res+"-js.mos"), "w+") as sfp:
239239
sfp.write(genjs.render(**context));
240240

text/source/_themes/xogeny-semantic/itemplate.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2 id="plot-title-{{plot_id}}" style="text-align: center"></h2>
6565
<p>
6666
While writing the book, I became aware
6767
of <a href="https://github.com/tshort/openmodelica-javascript">Tom
68-
Short's work compiling Modelica to Javascript</a> using
68+
Short's work compiling Modelica to JavaScript</a> using
6969
<a href="http://www.openmodelica.org">OpenModelica</a>
7070
using <a href="https://en.wikipedia.org/wiki/Emscripten">Emscripten</a>.
7171
While I had known this was possible, I didn't have the time to
@@ -78,7 +78,7 @@ <h2 id="plot-title-{{plot_id}}" style="text-align: center"></h2>
7878
also leverage
7979
OpenModelica. <a href="https://www.ida.liu.se/~marsj/">Martin
8080
Sjölund</a> was incredibly helpful in improving the Modelica
81-
to Javascript compilation path in OpenModelica. I can't count
81+
to JavaScript compilation path in OpenModelica. I can't count
8282
the number of times I pestered him on Skype late into the
8383
night in Sweden and he was always extremely helpful.
8484
</p>
@@ -88,7 +88,7 @@ <h2 id="plot-title-{{plot_id}}" style="text-align: center"></h2>
8888
FMQ service</b>. So in addition to giving users the option to
8989
simulate models in the cloud, FMQ will also allow provide
9090
developers with a simple path for converting their Modelica
91-
models into Javascript and then serving them to web
91+
models into JavaScript and then serving them to web
9292
applications so they can be simulated in the browser as
9393
well <b>all as a simple web service</b>.
9494
</p>

text/source/front/ack.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ formats.
181181

182182
In creating this book, I needed a way to test the models that appear
183183
in the book, generate simulation results for plots and generated
184-
Javascript code that allows the browser integrated simulation
184+
JavaScript code that allows the browser integrated simulation
185185
capabilities in the HTML book. OpenModelica supported all of these
186186
use cases. But beyond that, I owe a big "Thank You" to Martin Sjölund
187187
and the OpenModelica team for quickly responding to various issues I
@@ -192,7 +192,7 @@ me out.
192192
The browser integrated simulation capabilities in the HTML version of
193193
the book are only possible because of a tool called Emscripten which
194194
allows ordinary code in languages like C and C++ to be cross-compiled
195-
(via LLVM) into Javascript. Although I knew this was possible, I
195+
(via LLVM) into JavaScript. Although I knew this was possible, I
196196
didn't really think this avenue was viable until I saw `the work of Tom Short <https://github.com/tshort/openmodelica-javascript>`_
197197
integrating OpenModelica and Emscripten. The browser integrated
198198
simulation capabilities were greatly enabled by his work in this area.
@@ -232,7 +232,7 @@ adjustments. The power and portability of the MacBook Air gave my
232232
entire work process a big boost.
233233

234234
Developing this book involved a lot of testing and debugging of HTML
235-
layout, styling and embedded Javascript. Most of this work was done
235+
layout, styling and embedded JavaScript. Most of this work was done
236236
using Firefox but I've also used Chrome from time to time as well.
237237
I'd like to thank both the Mozilla Foundation and Google for creating
238238
such wonderful, standards compliant browsers.

0 commit comments

Comments
 (0)