jsf.js_next_gen 4.0.0-RC.36 → 4.0.0-RC.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4028,7 +4028,7 @@ var Implementation;
4028
4028
  function resolveProjectStateFromURL() {
4029
4029
  /* run through all script tags and try to find the one that includes faces.js */
4030
4030
  const foundStage = ExtDomQuery_1.ExtDomQuery.searchJsfJsFor(/stage=([^&;]*)/).value;
4031
- return (foundStage in ProjectStages) ? foundStage : null;
4031
+ return (foundStage in ProjectStages) ? foundStage : ProjectStages.Production; // MYFACES-4572: default is production
4032
4032
  }
4033
4033
  Implementation.resolveProjectStateFromURL = resolveProjectStateFromURL;
4034
4034
  /**
Binary file
Binary file