Table of Contents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns nested-routing.core | |
(:require [goog.events :as events] | |
[goog.history.EventType :as EventType] | |
[reagent.core :as reagent] | |
[reagent.ratom :refer-macros [reaction]] | |
[re-frame.core :refer [dispatch dispatch-sync register-handler register-sub subscribe]] | |
[secretary.core :as secretary :refer-macros [defroute]]) | |
(:import goog.History)) | |
(declare route-components |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
'html' : { | |
fontFamily: 'sans-serif', | |
msTextSizeAdjust: '100%', | |
webkitTextSizeAdjust: '100%' | |
}, | |
'body' : { | |
margin: 0 | |
}, | |
'article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary': { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const I = x => x | |
const K = x => y => x | |
const A = f => x => f (x) | |
const T = x => f => f (x) | |
const W = f => x => f (x) (x) | |
const C = f => y => x => f (x) (y) | |
const B = f => g => x => f (g (x)) | |
const S = f => g => x => f (x) (g (x)) | |
const S_ = f => g => x => f (g (x)) (x) | |
const S2 = f => g => h => x => f (g (x)) (h (x)) |
This gist is a proposal for lightning talk at Reactive Conf 2017
Like the idea? Give me a 🌟 and see you in Bratislava!
Hello, my name is Eduard!
I'm the maintainer of Create Elm App and contributor to Create React App and Webpack
Note:
When this guide is more complete, the plan is to move it into Prepack documentation.
For now I put it out as a gist to gather initial feedback.
If you're building JavaScript apps, you might already be familiar with some tools that compile JavaScript code to equivalent JavaScript code:
- Babel lets you use newer JavaScript language features, and outputs equivalent code that targets older JavaScript engines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class console2 { | |
static image(url: string, size = 100) { | |
fetch(url) | |
.then((res) => res.blob()) | |
.then((blob) => { | |
const reader = new FileReader(); | |
reader.onloadend = () => { | |
const dataUrl = reader.result as string; | |
const style = [ | |
'font-size: 1px;', |
OlderNewer