Commit 2ec0a4a3 authored by Masayuki Tanaka's avatar Masayuki Tanaka Committed by masayuki

Use only current targets caches

parent 608a5c52
......@@ -317,7 +317,9 @@
function getCaches (ids) {
var targets = []
for (var i = 0; i < ids.length; i++){
if (ids[i] in cache) targets.push(cloneTarget(cache[ids[i]]))
if (ids[i] in cache && hasTarget(__data_id_converter(ids[i]))) {
targets.push(cloneTarget(cache[ids[i]]))
}
}
return targets
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment