docs/lib/mithril.js
function initLifecycle(source, vnode, hooks) {
		if (typeof source.oninit === "function") source.oninit.call(vnode.state, vnode)
		if (typeof source.oncreate === "function") hooks.push(source.oncreate.bind(vnode.state, vnode))
	}
function initLifecycle(source, vnode, hooks) {
		if (typeof source.oninit === "function") source.oninit.call(vnode.state, vnode)
		if (typeof source.oncreate === "function") hooks.push(source.oncreate.bind(vnode.state, vnode))
	}
function initLifecycle ( source , vnode , hooks ) { if ( typeof source . oninit === "function" ) source . oninit . call ( vnode . state , vnode ) if ( typeof source . oncreate === "function" ) hooks . push ( source . oncreate . bind ( vnode . state , vnode ) ) }
lifecycle
lifecycle