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
With currently implemented solution, different plugins can overwrite previously set variables with the same name. There is no validation, if global variable with specified name already exists. It can lead to plugins' malfunctioning. Maybe we should implement some kind of validation or make strict naming convention for globals set in plugins?
The text was updated successfully, but these errors were encountered:
We should perhaps manage this by convention: a three-letter prefix for each plugin used for its globals and internal block names (which also can collide).
https://github.com/walterbender/turtleblocksjs/blob/master/js/utils.js#L413
With currently implemented solution, different plugins can overwrite previously set variables with the same name. There is no validation, if global variable with specified name already exists. It can lead to plugins' malfunctioning. Maybe we should implement some kind of validation or make strict naming convention for globals set in plugins?
The text was updated successfully, but these errors were encountered: