Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MithrilJS/mithril.js
/ res
Function
res
test-utils/components.js:14–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
kind:
"constructible"
,
13
create:
function
(methods) {
14
function
res(){}
15
res.prototype.view =
function
() {
return
{tag:
"div"
}}
16
Object.keys(methods || {}).forEach(
function
(m){res.prototype[m] = methods[m]})
17
return
res
Callers
1
test-promise.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected