MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / updateStatMap

Function updateStatMap

static/js/statistics.js:167–184  ·  view source on GitHub ↗
(firstRun)

Source from the content-addressed store, hash-verified

165}
166
167function updateStatMap (firstRun) {
168 var duration = document.getElementById('duration')
169 var header = 'Pokemon Seen in ' + duration.options[duration.selectedIndex].text
170 if ($('#seen_header').html() !== header) {
171 $('#seen_container').hide()
172 $('#loading').show()
173 $('#seen_header').html('')
174 $('#seen_total').html('')
175 }
176 loadRawData().done(function (result) {
177 processSeen(result.seen)
178 if ($('#seen_header').html() !== header) {
179 $('#seen_header').html(header)
180 $('#loading').hide()
181 $('#seen_container').show()
182 }
183 })
184}
185
186updateStatMap()
187

Callers 1

statistics.jsFile · 0.85

Calls 2

processSeenFunction · 0.85
loadRawDataFunction · 0.70

Tested by

no test coverage detected