Browse Source

Give config to beforeInit and afterInit

pull/1177/merge
Masayuki Tanaka 10 years ago
parent
commit
7a506454e4
  1. 4
      c3.js
  2. 2
      c3.min.js
  3. 4
      src/core.js

4
c3.js

@ -32,9 +32,9 @@
var $$ = this.internal = new ChartInternal(this);
$$.loadConfig(config);
$$.beforeInit();
$$.beforeInit(config);
$$.init();
$$.afterInit();
$$.afterInit(config);
// bind "this" to nested API
(function bindThis(fn, target, argThis) {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

4
src/core.js

@ -27,9 +27,9 @@ function Chart(config) {
var $$ = this.internal = new ChartInternal(this);
$$.loadConfig(config);
$$.beforeInit();
$$.beforeInit(config);
$$.init();
$$.afterInit();
$$.afterInit(config);
// bind "this" to nested API
(function bindThis(fn, target, argThis) {

Loading…
Cancel
Save