scenarioworld / articy-js

Loads and allows for navigation of exported Articy JSON data (http://www.articy.com)
MIT License
7 stars 2 forks source link

Run condition and input pin scripts on execute #76

Closed brwarner closed 2 years ago

brwarner commented 2 years ago

Originally, we were only running condition and input pin scripts on branch discovery, not branch execution. This was fine if conditions and input pins never contained scripts with side-effects, but isn't the case if they have them.

Came up when a function with a return value had a side effect when not shadowing.

github-actions[bot] commented 2 years ago

size-limit report 📦

Path Size
dist/articy-js.cjs.production.min.js 13.48 KB (+0.11% 🔺)
dist/articy-js.esm.js 10.95 KB (+0.1% 🔺)