UpdateState¶
Overview¶
Enumeration for the various states that can occur during an Update check. See updateCheck.js for main usage.
@author Jonathan Olson <jonathan.olson@colorado.edu> @author Michael Kauzmann (PhET Interactive Simulations)
Class UpdateState¶
Static Properties¶
UP_TO_DATE : UpdateState¶
(readonly)
Simulation version is equal to or greater than the currently published version.
OUT_OF_DATE : UpdateState¶
(readonly)
Simulation version is less than currently published version (or equal but has a suffix)
CHECKING : UpdateState¶
(readonly)
Request to server sent out, has not processed reply yet.
OFFLINE : UpdateState¶
(readonly)
Last attempt to check failed, most likely offline
UNCHECKED : UpdateState¶
(readonly)
No attempt as been made to check the version against the latest online.
enumeration : Enumeration¶
(readonly)
Source Code¶
See the source for UpdateState.ts in the joist repository.