Skip to content

Commit 075c4c4

Browse files
committed
minor markdown fixes for #44 https://youtu.be/E1vXNrN6BbU
1 parent 6898e8b commit 075c4c4

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ and corresponding writeup:
746746

747747
### 11. Todo List!
748748

749-
The _ultimate_ test of whether you _learned/understood_ something is
750-
applying it to _different_ context to the one you learned in.
749+
The _ultimate_ test of whether you _learned/understood_ something is <br />
750+
_applying_ your knowledge to _different_ context from the one you learned in.
751751

752752
Let's "_turn this up to eleven_" and build something "_useful_"!
753753

@@ -839,13 +839,13 @@ to build something full-featured and easy/fast to read!!
839839
[![babel](https://cloud.githubusercontent.com/assets/194400/25772913/72a818f4-326c-11e7-8020-9b5dab715987.png)](https://twitter.com/iamdevloper/status/787969734918668289 "Babel, how to show off that you don't have core ES5 skills.")
840840

841841
If you can build with "ES5" JavaScript: <br />
842-
a) you side-step the
842+
**a)** you side-step the
843843
[_noise_](https://twitter.com/iamdevloper/status/610191865216786432)
844844
and focus on core skills that **_already_ work everywhere**! <br />
845845
(_don't worry you can always "top-up" your
846846
JS knowledge later with ES6, etc!_)<br />
847-
b) you **don't** need to **waste time** installing
847+
**b)** you **don't** need to **waste time** installing
848848
[_**Two Hundred Megabytes**_](https://cloud.githubusercontent.com/assets/194400/13321493/39fcfa30-dbc7-11e5-8b05-f046675f9cb6.png)
849849
of dependencies just to run a simple project! <br />
850-
c) You ***save time*** (_for yourself, your team and end-users!_)
850+
**c)** You ***save time*** (_for yourself, your team and end-users!_)
851851
because your code is _already_ optimized to run in _any_ browser!

elmish.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `Elm`(_ish_)
22

3-
### (How to Build a Front-end Micro-Framework _From Scratch_)
3+
### (How to Build a Front-end Micro-Framework _From Scratch_)
44

55
![elmlogo-ish](https://user-images.githubusercontent.com/194400/43213139-b70a4c68-902d-11e8-8162-3c7cb56b6360.png)
66
<!-- the colors are deliberately "a bit off" to emphasize that
@@ -1510,7 +1510,7 @@ You should see something like this:
15101510
https://stackoverflow.com/questions/2010892/storing-objects-in-html5-localStorage <br />
15111511
+ Spec: https://www.w3.org/TR/webstorage/#the-localstorage-attribute
15121512
1513-
#### Implementation
1513+
#### Implementation
15141514
15151515
_Given_ that saving and retrieving the Todo List `model` to/from `localStorage`
15161516
uses two "native" DOM API functions, we can _avoid_ writing our own functions
@@ -1637,7 +1637,6 @@ then checkout:
16371637
https://stackoverflow.com/questions/494143/creating-a-new-dom-element-from-an-html-string-using-built-in-dom-methods-or-pro
16381638
16391639
1640-
16411640
## Notes
16421641
16431642
<sup>1</sup><small>The reason for calling the micro-framework `Elm`(_ish_)

multiple-counters.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ see:
2323

2424

2525
This "_works_" and "_satisfies_ the _requirement_"
26-
of having multiple counters on the same "page".
27-
_However_, it's not a "sustainable" way of "extending" an app for the long term.
28-
Almost no "_real_" web application uses an `Integer` as the `model`.
26+
of having multiple counters on the same "page". <br />
27+
_However_, it's not a "sustainable" way of "extending"
28+
an app for the long term. <br />
29+
Almost no "_real_" web application uses an `Integer` as the `model`,
30+
so the "_complexity_" of the model will be much greater.
2931

3032
We could leave the counter example `model` as an `Integer`
3133
and move on to the _next_ example (_Todo List_),
@@ -65,7 +67,7 @@ test('Test Update update(0) returns 0 (current state)', function(assert) {
6567
});
6668
```
6769
This test is still _relevant_ because the Elm Architecture _always_
68-
returns the `model` _unchanged_ if no `action` is given.
70+
returns the `model` _unchanged_ if no `action` is given. <br />
6971
We need to _update_ this test to reflect the change in the `model` signature:
7072
```js
7173
test('update({counters:[0]}) returns {counters:[0]} (current state unmodified)', function(assert) {

0 commit comments

Comments
 (0)