Merge pull request #17 from nikolabjelo/develop
hardcoding initial hosts value and not using a const for it
This commit is contained in:
1 file changed
+2
-5
@@ -6,8 +6,8 @@ function newCurrentEvent () {
|
||||
initialize: initialize
|
||||
}
|
||||
|
||||
const ecosystemBase =
|
||||
[{
|
||||
function buildEcosystemEventsHack (reload) {
|
||||
let hackedEcosystem = [{
|
||||
'codeName': 'AAArena',
|
||||
'displayName': 'AA Arena',
|
||||
'competitions': [{
|
||||
@@ -43,9 +43,6 @@ function newCurrentEvent () {
|
||||
}]
|
||||
}]
|
||||
|
||||
function buildEcosystemEventsHack (reload) {
|
||||
let hackedEcosystem = ecosystemBase
|
||||
|
||||
let ecosysTemp = window.localStorage.getItem('currentEventObject')
|
||||
if (!(ecosysTemp === null || ecosysTemp === '[]' || ecosysTemp === '')) {
|
||||
let parsedEcosysTemp = JSON.parse(ecosysTemp)
|
||||
|
||||
Reference in new issue
Block a user