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
### Keybase proof | |
I hereby claim: | |
* I am arkmind on github. | |
* I am arkmind (https://keybase.io/arkmind) on keybase. | |
* I have a public key ASBraaVPbuEfIhvz2yi50O9sgWI6hj-8oBauW_cVA_ddeQo | |
To claim this, I am signing this object: |
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
const UID = { | |
_current: 0, | |
getNew: function(){ | |
this._current++; | |
return this._current; | |
} | |
}; | |
HTMLElement.prototype.pseudoStyle = function(element, prop, value){ | |
var _this = this; |
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
const UID = { | |
_current: 0, | |
getNew: function(){ | |
this._current++; | |
return this._current; | |
} | |
}; | |
HTMLElement.prototype.pseudoStyle = function(element, prop, value){ | |
var _this = this; |
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
export default { | |
100: 'CONTINUE', | |
101: 'SWITCHING_PROTOCOLS', | |
102: 'PROCESSING', | |
103: 'CHECKPOINT', | |
200: 'OK', | |
201: 'CREATED', | |
202: 'ACCEPTED', | |
203: 'NON_AUTHORITATIVE_INFORMATION', | |
204: 'NO_CONTENT', |
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
export default { | |
100: 'CONTINUE', | |
101: 'SWITCHING_PROTOCOLS', | |
102: 'PROCESSING', | |
103: 'CHECKPOINT', | |
200: 'OK', | |
201: 'CREATED', | |
202: 'ACCEPTED', | |
203: 'NON_AUTHORITATIVE_INFORMATION', | |
204: 'NO_CONTENT', |
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
const teams = []; | |
/** | |
* Retrieves all teams in the specified divisions | |
* @param divisions ("OPEN" | "INTERMEDIATE" | "MAIN" | "ADVANCED")[] | |
* @returns Team[] | |
*/ | |
const fetchTeamDivisions = async (divisions) => { | |
// Transform every divisions in fetch and wait for all of them to finish | |
const response = await Promise.all( |