src/bilevel-sunburst.js
function(options, jsonData) {

            //console.log(jsonData);
            var self = this;
            // remove the existing one.
            $('#' + self.attrId).empty();

            // need merge the options with default options.
            self.options = $.extend({}, defaultOptions, options);
            self.jsonData = jsonData;
            self.init();
        }
function(options, jsonData) {

            //console.log(jsonData);
            var self = this;
            // remove the existing one.
            $('#' + self.attrId).empty();

            // need merge the options with default options.
            self.options = $.extend({}, defaultOptions, options);
            self.jsonData = jsonData;
            self.init();
        }
function ( options , jsonData ) { //console.log(jsonData); var self = this ; // remove the existing one. $ ( '#' + self . attrId ) . empty ( ) ; // need merge the options with default options. self . options = $ . extend ( { } , defaultOptions , options ) ; self . jsonData = jsonData ; self . init ( ) ; }
reload the plugin.
reload the plugin .