versioning.js 313 B

123456789
  1. $(document).one(':storyready', ()=> {
  2. const version = setup.version;
  3. State.variables.version ??= version;
  4. State.variables.versionHistory ??= [version];
  5. if(State.variables.version != version){
  6. State.variables.versionHistory.push(version);
  7. }
  8. console.log("Running version",version);
  9. });