This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Effect() | |
selectAndLoadStore$: Observable<Action> = this.actions$ | |
.ofType(storeActions.SELECT_AND_LOAD_STORE) | |
.withLatestFrom(this.store.select(ngrx.storeState)) | |
.map(([action, storeState]) => [action.payload, storeState]) | |
.switchMap(([storeName, storeState]) => { | |
const existsInStore = Boolean(storeState.urlNameMap[storeName]); | |
return Observable.if( | |
() => existsInStore, | |
Observable.of(new storeActions.SetSelectedStore(storeName)), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git branch -D gh-pages | |
git push origin --delete gh-pages | |
git checkout -b gh-pages | |
ionic build --prod | |
find . -type d ! -path './www*' ! -path './.git*' ! -path '.' | xargs rm -rf | |
rm -r *.* | |
mv www/* . | |
rm -rf www | |
git add . |