This file contains hidden or 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
| #compdef dev | |
| function _dev() { | |
| # set auto completion result | |
| _describe 'command' __DEV_AUTOCOMPLETION_LIST | |
| } |
This file contains hidden or 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
| import createRepetitiveAsyncCallback from './createRepetitiveAsyncCallback'; | |
| const repetitiveAsyncCallbackInstance = createRepetitiveAsyncCallback({ | |
| asyncCallback: () => { | |
| return doSomeAsyncStuffWeNeedToWaitFor(); | |
| }, | |
| interval: { | |
| duration: 5000, | |
| type: 'placid', | |
| }, |
This file contains hidden or 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
| import Keycloak from 'keycloak-js'; | |
| class Auth { | |
| constructor() { | |
| this.authenticated = false; | |
| this.keycloak = Keycloak('/keycloak.json'); | |
| } | |
| login(callback) { | |
| this.keycloak |