Browse Source

Use only current targets caches

pull/1/head
Masayuki Tanaka 12 years ago committed by masayuki
parent
commit
2ec0a4a383
  1. 4
      c3.js

4
c3.js

@ -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
}

Loading…
Cancel
Save