Skip to content

Commit 1f698d9

Browse files
author
Jason Cumiskey
committed
add alternate text for images. EPUB validation fails if not present
1 parent 8f77f00 commit 1f698d9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TypeScript compiles into JavaScript. JavaScript is what you are actually going t
99
* A TypeScript editor (you can use notepad if you want but I use [alm 🌹](http://alm.tools). Also [lots of other IDES support it as well]( https://github.com/Microsoft/TypeScript/wiki/TypeScript-Editor-Support))
1010

1111

12-
![](https://raw.githubusercontent.com/alm-tools/alm-tools.github.io/master/screens/main.png)
12+
![alm editor window](https://raw.githubusercontent.com/alm-tools/alm-tools.github.io/master/screens/main.png)
1313

1414

1515
## TypeScript Version

docs/javascript/recap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
There were (and will continue to be) a lot of competitors in *Some syntax* to *JavaScript* compilers. TypeScript is different from them in that *Your JavaScript is TypeScript*. Here's a diagram:
44

5-
![](https://raw.githubusercontent.com/basarat/typescript-book/master/images/venn.png)
5+
![JavaScript is TypeScript](https://raw.githubusercontent.com/basarat/typescript-book/master/images/venn.png)
66

77
However it does mean that *you need to learn JavaScript* (the good news is *you **only** need to learn JavaScript*). TypeScript is just standardizing all the ways you provide *good documentation* on JavaScript.
88

docs/promise.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Admittedly this is not hard to follow once you've done it a few times but noneth
174174

175175
A promise can be either `pending` or `fulfilled` or `rejected`.
176176

177-
![](https://raw.githubusercontent.com/basarat/typescript-book/master/images/promise%20states%20and%20fates.png)
177+
![promise states and fates](https://raw.githubusercontent.com/basarat/typescript-book/master/images/promise%20states%20and%20fates.png)
178178

179179
Let's look at creating a promise. It's a simple matter of calling `new` on `Promise` (the promise constructor). The promise constructor is passed `resolve` and `reject` functions for settling the promise state:
180180

header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var el = document.querySelector('.search-noresults');
44
if(el) {
55
var elChild = document.createElement('div');
6-
elChild.innerHTML = '<a href="https://paypal.me/basaratali" style="display: block;text-align: center;"> Buy me a beer / coffee 🍻 ☕️ 🌹 <br><br><img src="https://img.shields.io/badge/Donate-PayPal-green.svg"><br><br></a>';
6+
elChild.innerHTML = '<a href="https://paypal.me/basaratali" style="display: block;text-align: center;"> Buy me a beer / coffee 🍻 ☕️ 🌹 <br><br><img src="https://img.shields.io/badge/Donate-PayPal-green.svg" alt="donate"><br><br></a>';
77
el.insertBefore(elChild, el.firstChild);
88
clearInterval(interval);
99
}

0 commit comments

Comments
 (0)