import {getSet, indexOf, viewOf} from './utils.js' | |
export function Mobile(){ | |
return { | |
view: v => { | |
Promise.resolve().then(reconcile) | |
return viewOf(v)(Unit) | |
} | |
} |
export default () => { | |
const queue = [] | |
let then | |
return { | |
onbeforeupdate : () => !blocker, | |
oncreate : resolve, | |
onupdate : resolve, | |
view : ({ | |
instance, |
import m from './functor-mithril' | |
function Async(){ | |
let cache | |
return ({content, setup, teardown}, dom) => { | |
if(content && !cache && teardown) | |
dom(node => { | |
void node.clientHeight | |
import {m} from './deps.js' | |
import viewOf from './viewOf.js' | |
// View component exposing a single function: | |
// Once invoked, the function causes the subtree to be reinitialised | |
export default () => { | |
let timestamp | |
const refresh = () => { |
// Source | |
const tabitha = (context = document) => | |
[ | |
...context.querySelectorAll('*') | |
] | |
.filter(element => { | |
const style = | |
window.getComputedStyle(element) | |
return ( |
class OffFocus extends React.Component { | |
constructor(){ | |
super() | |
const handler = e => { | |
if( | |
this.state.focused | |
&& | |
e.target.nodeType | |
&& |
Autumn is here again with its dismal days, and the sun is hiding himself in the darkest corner of the heavens so that no one shall see how pale and aged and worn he has grown in this latter time. But while the wind whistles in the window-chinks and the rain purls in the rainspouts and a wet dog howls in front of a closed gate down below on the street and before the fire has burned down in our tile stove, I will tell you a story about the drizzle. Listen now!
For some time back the good God had become so angered over the wickedness of men that he resolved to punish them by making them still wickeder. He should, in his great goodness, have liked above all things to have drowned them all together in a new Deluge: he had not forgotten how agreeable was the sight when all living creatures perished in the flood. But unfortunately in a sentimental moment he had promised Noah never to do so again.
"Harken, my friend I" he therefore said to the Devil one day. "You are assuredly no saint, but occasionall
THE DRIZZLE | |
AUTUMN is here again with its dismal days, | |
and the sun is hiding himself in the darkest | |
corner of the heavens so that no one shall see how | |
pale and aged and worn he has grown in this | |
latter time. But while the wind whistles in the | |
window-chinks and the rain purls in the rain- |
Prioritised features:
- Pointer-based hover-overlay to highlight elements generated by Mithril
- With a view of their corresponding vnode & associated path
- That allows travel through path and vnode tree interface to highlight other elements
Followed by:
- Patch reporter:
- Receive inspectable logs for changes that occur on render