Browse Source

Add done callback for unload - #182

pull/189/head
Masayuki Tanaka 11 years ago
parent
commit
3a55f7dff9
  1. 3
      c3.js
  2. 2
      c3.min.js

3
c3.js

@ -4233,9 +4233,10 @@
}
};
c3.unload = function (targetIds) {
c3.unload = function (targetIds, done) {
unload(mapToTargetIds(targetIds), function () {
redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true, withLegend: true});
if (typeof done === 'function') { done(); }
});
};

2
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save