Using an exported variable from another Meteor package -
i'm trying wrap extension chart.js in package meteor. inside extension, author tries access global chart variable.
is exposing variable in export.js file (loaded before extension) considered proper solution?
this.chart = package['chart:chart'].chart;
Comments
Post a Comment