javascript - strict mode while using grouped category hichart plugin throws error -
i trying use http://www.highcharts.com/plugin-registry/single/11/grouped-categories
i tried include strict mode inside grouped-categories.js following
(function() { "use strict"; jquery.mynamespace.declare("viz.thirdparty.plugins.grouped_categories-master.grouped-categories"); // existing plugin code goes here }());
while plugin renders chart correctly while using non strict mode, throws following exception when try use along mode.
typeerror: cannot assign read property 'parent' of accessories @ buildtree (plugins/grouped_categories-master/grouped-categories.js:90:18) @ buildtree
any way clear error?
Comments
Post a Comment