Skip to content

Instantly share code, notes, and snippets.

@chidumennamdi
Created August 22, 2018 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chidumennamdi/41068f212c57d072e9bb2828fb54988f to your computer and use it in GitHub Desktop.
Save chidumennamdi/41068f212c57d072e9bb2828fb54988f to your computer and use it in GitHub Desktop.
function callViewAction(view: ViewData, action: ViewAction) {
...
case ViewAction.CheckAndUpdate:
...
if ((viewState & ViewState.CatDetectChanges) === ViewState.CatDetectChanges) {
checkAndUpdateView(view);
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment