You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case that the browser global Chiasm is defined at the time a given module is loaded (included as a script tag), that module should be able to register itself as a plugin in the Chiasm runtime. For this, the plugins object for Chiasm could use prototypal inheritence, and inherit from a global set of plugins.
Examples would be much simpler (no Chiasm boilerplate with plugin assignment necessary). Only a single <script> tag would be necessary to include a Chiasm component on a page. It must be placed after the Chiasm runtime script, chiasm.js.
The following modules should have UMD builds that automatically register themselves:
chiasm-charts - should call registerPlugins to register all chart types
chiasm-dataset-loader - should call registerPlugin to register itself
chiasm-links
chiasm-layout
chiasm-injector
chiasm-crossfilter
chiasm-data-reduction
The text was updated successfully, but these errors were encountered:
In the case that the browser global
Chiasm
is defined at the time a given module is loaded (included as ascript
tag), that module should be able to register itself as a plugin in the Chiasm runtime. For this, theplugins
object for Chiasm could use prototypal inheritence, and inherit from a global set of plugins.Examples would be much simpler (no Chiasm boilerplate with plugin assignment necessary). Only a single
<script>
tag would be necessary to include a Chiasm component on a page. It must be placed after the Chiasm runtime script,chiasm.js
.The following modules should have UMD builds that automatically register themselves:
registerPlugins
to register all chart typesregisterPlugin
to register itselfThe text was updated successfully, but these errors were encountered: