Skip to content

Commit 72a1e67

Browse files
committed
Format
1 parent 7532346 commit 72a1e67

File tree

4 files changed

+25
-27
lines changed

4 files changed

+25
-27
lines changed

examples/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Examples
22

3-
1. [What's in here](whats-in-here)
4-
* [Chatbot](chatbot)
5-
* [Painter](painter)
6-
* [ReactRouter](reactrouter)
7-
* [SimpleSVG](simplesvg)
8-
2. [Run the examples](run-the-examples)
9-
3. [Project Structure](project-structure)
3+
1. [What's in here](whats-in-here)
4+
- [Chatbot](chatbot)
5+
- [Painter](painter)
6+
- [ReactRouter](reactrouter)
7+
- [SimpleSVG](simplesvg)
8+
2. [Run the examples](run-the-examples)
9+
3. [Project Structure](project-structure)
1010

1111
## What's in here
1212

@@ -32,11 +32,9 @@ An animated SVG example that uses actions to animate the orbiting of
3232
one circle around another. Demonstrates the thunk usage pattern for
3333
actions.
3434

35-
3635
## Run the examples
3736

38-
To run these examples, install project dependencies and execute `npm
39-
start` in any of the directories:
37+
To run these examples, install project dependencies and execute `npm start` in any of the directories:
4038

4139
```
4240
$ git clone https://github.com/vigetlabs/microcosm

examples/chatbot/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ const Messages = {
2828
// ..
2929
register() {
3030
return {
31-
[send.open] : Messages.addLoading,
32-
[send.done] : Messages.add,
33-
[send.error] : Messages.addError
31+
[send.open]: Messages.addLoading,
32+
[send.done]: Messages.add,
33+
[send.error]: Messages.addError
3434
}
3535
}
3636
}
@@ -44,12 +44,12 @@ creator. Domains can hook into the different states of that action as the
4444
action creator resolves. These states _loosely_ follow the
4545
`readyState` property of `XMLHTTPRequest`:
4646

47-
1. **unset**: Nothing has happened yet. The action creator has not
48-
started.
49-
2. **open**: The action creator has started working, such as the opening
50-
of an XHR request, however no response has been given.
51-
3. **loading**: The action creator is partially complete, such as
52-
downloading a response from a server.
53-
4. **done**: The action creator has resolved.
54-
5. **cancelled**: The action was cancelled, like if an XHR request is
55-
aborted.
47+
1. **unset**: Nothing has happened yet. The action creator has not
48+
started.
49+
2. **open**: The action creator has started working, such as the opening
50+
of an XHR request, however no response has been given.
51+
3. **loading**: The action creator is partially complete, such as
52+
downloading a response from a server.
53+
4. **done**: The action creator has resolved.
54+
5. **cancelled**: The action was cancelled, like if an XHR request is
55+
aborted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "make all",
1111
"flow": "flow",
1212
"lint": "prettier --single-quote --semi false -l \"{src,test,examples}/**/*.js\" && eslint \"{src,test,examples}/**/*.js\"",
13-
"pretty": "prettier --single-quote --semi false --write \"{src,test,examples}/**/*.{js,css}\" && eslint --fix \"{src,test,examples}/**/*.js\"",
13+
"pretty": "prettier --single-quote --semi false --write \"{src,test,examples}/**/*.{md,js,css}\" && eslint --fix \"{src,test,examples}/**/*.js\"",
1414
"docs": "jsdoc src -c jsdoc/conf.json && jsdoc src -c jsdoc/conf.json --package package.json",
1515
"test": "jest --config test/dev.config.json --maxWorkers=2",
1616
"test:cov": "jest --config test/dev.config.json --coverage --maxWorkers=2",
@@ -64,7 +64,7 @@
6464
"jsdoc-babel": "^0.3.0",
6565
"microcosm-debugger": "^3.0.0",
6666
"minimist": "^1.2.0",
67-
"prettier": "^1.6.1",
67+
"prettier": "^1.13.6",
6868
"react": "^15.6.1",
6969
"react-dom": "^15.6.1",
7070
"react-hot-loader": "next",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4674,9 +4674,9 @@ preserve@^0.2.0:
46744674
version "0.2.0"
46754675
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
46764676

4677-
prettier@^1.6.1:
4678-
version "1.6.1"
4679-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.6.1.tgz#850f411a3116226193e32ea5acfc21c0f9a76d7d"
4677+
prettier@^1.13.6:
4678+
version "1.13.6"
4679+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.6.tgz#00ae0b777ad92f81a9e7a1df2f0470b6dab0cb44"
46804680

46814681
pretty-error@^2.0.2:
46824682
version "2.0.2"

0 commit comments

Comments
 (0)