param | type | description |
---|---|---|
accessor | function | accessor for the element whose style should be modified |
style | Object or Function | styles to apply |
rm | Function | function to remove element from view (usually from an array) |
#Usage
o-----------------------------------------------------------------------------------------------------------------------------------------o | |
| Æfingaplan út júní | | |
o-----------------------------------------------------------------------------------------------------------------------------------------o | |
| | Mánudagar | Þriðjudagar | Miðvikudagar | Fimmtudagar | Föstudagar | Laugardagar | Sunnudagar | | |
o--------o---------------------o-------------o---------------------o-------------o---------------------o---------------------o------------o | |
| Hvað | 3. Skref / Pushaway | Ræktin | 3. Skref / Pushaway | Ræktin | 3. Skref / Pushaway | 3. Skref / Pushaway | fríí | | |
| Hvenær | 19:00 | | 19:00 | | 19:00 | 19:00 | | | |
o--------o---------------------o------------ |
/* | |
* SteamGuide starts steam big picture when the guide button is pressed for 3 seconds | |
*/ | |
#SingleInstance force | |
#NoTrayIcon | |
WaitKey() | |
{ | |
KeyWait, Joy7, T3 | |
return ErrorLevel |
{ | |
"browser": true, | |
"esnext": true, | |
"globals": { | |
"require": true, | |
"exports": true, | |
"console": true, | |
"module": true, | |
"define": true, | |
"process": true |
reductio = require 'reductio' | |
_ = require 'lodash' | |
makeTemplate = (config)-> | |
if !type.call(config) == '[object String]' | |
return ()-> 'unknown' | |
if ~config.indexOf '<%' | |
templ = _.template config | |
tpl = (d)-> templ d:d | |
else |
var Comment = {} | |
Comment.store = Store('Comment', {idprop: 'id'}); | |
Comment.fetchForPost = function (postId) { | |
return m.request({ method: 'GET', url: '/api/post/' + postId + '/comments' }) | |
.then(Comment.store.syncAll) | |
} |
You've been sat at this delightful little café for the best part of an hour and a half. You've not had a sip of coffee, but the pot plant next to you has been remarkably well fed as you keep asking for refills. The pastry in front of you has not entered your mouth, but you've occupied yourself peeling off the thin layers of its skin, flicking them away in the breeze.
Your attention here isn't on the patisserie, it's on that church on the other side of the piazza, that magnificent stone building, that edifice of religion, that monument to faith. In your breathing days you used to attend regularly, you took the sacrament, you spoke the words, but you weren't there because you were a believer, you were there because of a woman, as you so often were in life.
var m = require('mithril'); | |
var _mroute = m.route; | |
var type = {}.toString; | |
m.route = function(arg0, arg1){ | |
var res = m_route.apply(this, [].slice.call(arguments)); | |
if (type.call(arguments[0]) === '[object String]' || (arguments.length === 3 && type.call(arg1) === '[object String]')) { | |
ga('send', 'pageview', _mroute()); |
import m from 'mithril'; | |
import f from 'flyd'; | |
import retain from './flyd-retain'; | |
function myComponent(){ | |
let username = f.stream(''); | |
let username_header = username.map(name => m('h1', name)); | |
let username_input = username.map(name => m('input', {value: name, oninput: m.withAttr('value', username)})); | |
return retain(f.combine(function(h, i){ |