More misc docs

This commit is contained in:
Mike Thompson 2016-08-29 23:49:00 +10:00
parent 781e7ca323
commit 6db396381f
3 changed files with 27 additions and 22 deletions

View File

@ -12,11 +12,11 @@ override that by providing your own set or subset of these functions using
```clj
(defn my-warn
[& args]
(my-special-warner (apply str args)))
(post-warning-somewhere (apply str args)))
(defn my-log
[& args]
(my-special-logger (apply str args)))
(write-to-datadog (apply str args)))
(re-frame.core/set-loggers! {:warn my-warn
:log my-log

View File

@ -5,12 +5,12 @@ files meant to be `.cljs`?
### Answer
So tests can be run on both the JVM and the JS platforms,
So tests can be run on both the JVM and the JS platforms,
re-frame's implementation is mostly in `.cljc` files.
The trailing `c` in `.cljc` stands for `common`.
Necessary interop for each platform can be found in
Necessary interop for each platform can be found in
`interop.clj` (for the JVM) and `interop.cljs` (for JS).
See also: https://github.com/Day8/re-frame-test

View File

@ -4,39 +4,44 @@
### Who
Created by the mysterious deep thinker, known only as @martinklepsch.
Created by the mysterious, deep thinker, known only as @martinklepsch.
Some say he appears on high value stamps in Germany and that he once
punched a horse to the ground. Others say he loves recursion so much
Some say he appears on high value stamps in Germany and that he once <br>
punched a horse to the ground. Others say he loves recursion so much <br>
that, in his wallet, he carries a photograph of his wallet.
All we know for sure is that he wields [Sketch.app](https://www.sketchapp.com/) like
Bruce Lee wielded nunchucks.
All we know for sure is that he wields [Sketch.app](https://www.sketchapp.com/)<br>
like Bruce Lee wielded nunchucks.
### Genesis Theories
Great, unexplained works encourage fan theories, and the re-frame logo
is no exception.
Great, unexplained works encourage fan theories, and <br>
the re-frame logo is no exception.
One noisy group think @martinklepsch simply wanted to `Put the 'f' back into infinity`. They have t-shirts.
One noisy group think @martinklepsch simply wanted to <br>
`Put the 'f' back into infinity`. They have t-shirts.
Another group speculates that he created the logo as a bifarious rainbow homage
to Frank Lloyd Wright's masterpiece, the Guggenheim Museum. A classic case
of premature abstraction and over engineering if you ask me. Their theory, not the Guggenheim.
Another group speculates that he created the logo as a <br>
bifarious rainbow homage to Frank Lloyd Wright's masterpiece, <br>
the Guggenheim Museum. A classic case of premature abstraction <br>
and over engineering if you ask me. Their theory, not the Guggenheim.
![](/images/logo/Guggenheim.jpg)
The infamous "Bad Touch" faction look at the logo and see the cljs logo mating noisily with re-frame's official
architecture diagram. Attend one of their parties and you have a 50% chance of arrest.
The infamous "Bad Touch" faction look at the logo and see the <br>
cljs logo mating noisily with re-frame's official architecture <br>
diagram. Attend one of their parties and you have a 50% chance of arrest.
![](/images/logo/Genesis.png)
The Functional Fundamentalists, a stern bunch, see the logo as a flowing poststructuralist rebuttal of OO's
vowel duplication and horizontal adjacency. Their approach, FF, is apparently fine because "everyone loves a
fricative".
The Functional Fundamentalists, a stern bunch, see the logo as <br>
a flowing poststructuralist rebuttal of OO's vowel duplication <br>
and horizontal adjacency. Their approach, FF, is apparently fine <br>
because "everyone loves a fricative".
For his part, @martinklepsch has never confirmed any theory, teasing us instead with coded clues
like "Will you please stop emailing me" and "Why did you say I hit a horse?".
For his part, @martinklepsch has never confirmed any theory, <br>
teasing us instead with coded clues like "Will you please stop emailing me"<br>
and "Why did you say I hit a horse?".
### Assets Where?