Merge remote-tracking branch 'origin/master' into next
This commit is contained in:
commit
1472036464
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ Mithril = m = new function app(window, undefined) {
|
|||
cached.nodes.intact = true
|
||||
if (shouldReattach === true) parentElement.insertBefore(node, parentElement.childNodes[index] || null)
|
||||
}
|
||||
if (type.call(data.attrs["config"]) == "[object Function]") {
|
||||
if (typeof data.attrs["config"] === "function") {
|
||||
configs.push(data.attrs["config"].bind(window, node, !isNew, cached.configContext = cached.configContext || {}, cached))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue