Skip to content

Commit 8861041

Browse files
committed
get started: fixing references to images as png instead of svg (for dark mode), closes getify#1718
1 parent 8a1cc11 commit 8861041

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

get-started/ch1.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ These misinformed claims and criticisms should be set aside. The real reason it
322322
Historically, scripted or interpreted languages were executed in generally a top-down and line-by-line fashion; there's typically not an initial pass through the program to process it before execution begins (see Figure 1).
323323

324324
<figure>
325-
<img src="images/fig1.svg" width="650" alt="Interpreting a script to execute it" align="center">
325+
<img src="images/fig1.png" width="650" alt="Interpreting a script to execute it" align="center">
326326
<figcaption><em>Fig. 1: Interpreted/Scripted Execution</em></figcaption>
327327
<br><br>
328328
</figure>
@@ -332,7 +332,7 @@ In scripted or interpreted languages, an error on line 5 of a program won't be d
332332
Compare that to languages which do go through a processing step (typically, called parsing) before any execution occurs, as illustrated in Figure 2:
333333

334334
<figure>
335-
<img src="images/fig2.svg" width="650" alt="Parsing, compiling, and executing a program" align="center">
335+
<img src="images/fig2.png" width="650" alt="Parsing, compiling, and executing a program" align="center">
336336
<figcaption><em>Fig. 2: Parsing + Compilation + Execution</em></figcaption>
337337
<br><br>
338338
</figure>
@@ -370,7 +370,7 @@ So what do these nitty-gritty details boil down to? Step back and consider the e
370370
To visualize those steps, again:
371371

372372
<figure>
373-
<img src="images/fig3.svg" width="650" alt="Steps of JS compilation and execution" align="center">
373+
<img src="images/fig3.png" width="650" alt="Steps of JS compilation and execution" align="center">
374374
<figcaption><em>Fig. 3: Parsing, Compiling, and Executing JS</em></figcaption>
375375
<br><br>
376376
</figure>

get-started/ch3.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ The first argument to `Object.create(..)` specifies an object to link the newly
385385
Figure 4 shows how the three objects (`otherHomework`, `homework`, and `Object.prototype`) are linked in a prototype chain:
386386

387387
<figure>
388-
<img src="images/fig4.svg" width="200" alt="Prototype chain with 3 objects" align="center">
388+
<img src="images/fig4.png" width="200" alt="Prototype chain with 3 objects" align="center">
389389
<figcaption><em>Fig. 4: Objects in a prototype chain</em></figcaption>
390390
<br><br>
391391
</figure>
@@ -418,7 +418,7 @@ The assignment to `topic` creates a property of that name directly on `otherHome
418418
Figure 5 shows the objects/properties after the assignment that creates the `otherHomework.topic` property:
419419

420420
<figure>
421-
<img src="images/fig5.svg" width="200" alt="3 objects linked, with shadowed property" align="center">
421+
<img src="images/fig5.png" width="200" alt="3 objects linked, with shadowed property" align="center">
422422
<figcaption><em>Fig. 5: Shadowed property 'topic'</em></figcaption>
423423
<br><br>
424424
</figure>
@@ -456,7 +456,7 @@ mathHomework.study();
456456
The two objects `jsHomework` and `mathHomework` each prototype link to the single `homework` object, which has the `study()` function. `jsHomework` and `mathHomework` are each given their own `topic` property (see Figure 6).
457457

458458
<figure>
459-
<img src="images/fig6.svg" width="495" alt="4 objects prototype linked" align="center">
459+
<img src="images/fig6.png" width="495" alt="4 objects prototype linked" align="center">
460460
<figcaption><em>Fig. 6: Two objects linked to a common parent</em></figcaption>
461461
<br><br>
462462
</figure>

0 commit comments

Comments
 (0)