Browse Source

Revert "Use only current targets caches"

This reverts commit 627f252c28e31d639b5f1f17772fbe979e43101b.
pull/1/head
Masayuki Tanaka 12 years ago committed by masayuki
parent
commit
742dced713
  1. 4
      c3.js

4
c3.js

@ -317,9 +317,7 @@
function getCaches (ids) {
var targets = []
for (var i = 0; i < ids.length; i++){
if (ids[i] in cache && hasTarget(__data_id_converter(ids[i]))) {
targets.push(cloneTarget(cache[ids[i]]))
}
if (ids[i] in cache) targets.push(cloneTarget(cache[ids[i]]))
}
return targets
}

Loading…
Cancel
Save