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
Currently, any changes that a consumable can trigger already need to be part of the consumer. Making the package content of a consumed ownable available for the consumer allows for plugins.
With the robot example; it shouldn't be necessary that the code for antenna, speaker, and armor is already part of the robot contract. Instead, it should keep track of a list of plugins. Each plugin Ownable should contain a piece of javascript intended for the widget. For instance, to draw the antenna. The robot should load the plugin js for every consume ownable in order of consumption.
The text was updated successfully, but these errors were encountered:
Currently, any changes that a consumable can trigger already need to be part of the consumer. Making the package content of a consumed ownable available for the consumer allows for plugins.
With the robot example; it shouldn't be necessary that the code for antenna, speaker, and armor is already part of the robot contract. Instead, it should keep track of a list of plugins. Each plugin Ownable should contain a piece of javascript intended for the widget. For instance, to draw the antenna. The robot should load the plugin js for every consume ownable in order of consumption.
The text was updated successfully, but these errors were encountered: