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

Function loadDetails

static/js/statistics.js:199–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197mapData.appearances = {}
198
199function loadDetails () {
200 return $.ajax({
201 url: 'raw_data',
202 type: 'GET',
203 data: {
204 'pokemon': false,
205 'pokestops': false,
206 'gyms': false,
207 'scanned': false,
208 'appearances': true,
209 'pokemonid': pokemonid,
210 'duration': $('#duration').val()
211 },
212 dataType: 'json',
213 beforeSend: function () {
214 if (detailsLoading) {
215 return false
216 } else {
217 detailsLoading = true
218 }
219 },
220 complete: function () {
221 detailsLoading = false
222 }
223 })
224}
225
226function loadAppearancesTimes (pokemonId, spawnpointId) {
227 return $.ajax({

Callers 1

updateDetailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected