source/main.js
// since JSON cannot depict Maps, so convert them here from arrays to Maps

since JSON cannot depict Maps, so convert them here from arrays to Maps
since JSON cannot depict Maps so convert them here from arrays to Maps
function configArraysToMaps(configData) {
    try {
      configData.snTable = new Map(JSON.parse(configData.snTable))
    }
    catch (e) {
      configData.snTable = new Map()
    }
    try {
      configData.floaties = new Map(JSON.parse(configData.floaties))
    }
    catch (e) {
      configData.floaties = new Map()
    }
  }
function configArraysToMaps ( configData ) { try { configData . snTable = new Map ( JSON . parse ( configData . snTable ) ) } catch ( e ) { configData . snTable = new Map ( ) } try { configData . floaties = new Map ( JSON . parse ( configData . floaties ) ) } catch ( e ) { configData . floaties = new Map ( ) } }
since JSON cannot depict Maps, so convert them here from arrays to Maps
since JSON cannot depict Maps so convert them here from arrays to Maps