Commit 7a506454 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Give config to beforeInit and afterInit

parent f04c84df
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
var $$ = this.internal = new ChartInternal(this); var $$ = this.internal = new ChartInternal(this);
$$.loadConfig(config); $$.loadConfig(config);
$$.beforeInit(); $$.beforeInit(config);
$$.init(); $$.init();
$$.afterInit(); $$.afterInit(config);
// bind "this" to nested API // bind "this" to nested API
(function bindThis(fn, target, argThis) { (function bindThis(fn, target, argThis) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -27,9 +27,9 @@ function Chart(config) { ...@@ -27,9 +27,9 @@ function Chart(config) {
var $$ = this.internal = new ChartInternal(this); var $$ = this.internal = new ChartInternal(this);
$$.loadConfig(config); $$.loadConfig(config);
$$.beforeInit(); $$.beforeInit(config);
$$.init(); $$.init();
$$.afterInit(); $$.afterInit(config);
// bind "this" to nested API // bind "this" to nested API
(function bindThis(fn, target, argThis) { (function bindThis(fn, target, argThis) {
......
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