Fix scope cache returning an item that was just inserted
This commit is contained in:
parent
e0f1bd76cb
commit
22dc8f8323
@ -33,7 +33,8 @@ function getCache(node, parentScope, self) {
|
||||
}
|
||||
} else if (!node[CACHE_MULTIPLE_KEY]) {
|
||||
// no scope has ever been associated with this node
|
||||
return node[CACHE_SINGLE_KEY] = self;
|
||||
node[CACHE_SINGLE_KEY] = self;
|
||||
return;
|
||||
}
|
||||
|
||||
// looks like we have either a single scope association that was never matched or
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user