Merge remote-tracking branch 'origin/master' into next
This commit is contained in:
commit
d81263f55e
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ Mithril = m = new function app(window, undefined) {
|
|||
if (data.subtree === "retain") return cached
|
||||
|
||||
var cachedType = type.call(cached), dataType = type.call(data)
|
||||
if (cachedType != dataType) {
|
||||
if (cached === undefined || cached === null || cachedType != dataType) {
|
||||
if (cached !== null && cached !== undefined) {
|
||||
if (parentCache && parentCache.nodes) {
|
||||
var offset = index - parentIndex
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue