clouway / ui-components

A set of UI components used for development
0 stars 1 forks source link

ui-components: add VersionChecker component #7

Closed mgenov closed 6 years ago

mgenov commented 6 years ago

Added a VersionChecker component which is verifying where JS version is updated using periodic XHR request for the target resource. If JS is updated then then returned response is not found (404) and component calls the passed callback for notification.

Typical JS naming: app.704ac6964e22d4b9df2c.js

Related with https://github.com/clouway/telcong.bss/issues/3843 https://github.com/clouway/tgps/issues/984 https://github.com/clouway/tgps/issues/1327

screen shot 2018-01-08 at 22 43 42