You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So a system to load libraries would be good, using $.getScript.
Don't forget that somewhere:
$.ajaxSetup({cache: true});
So each file (battles, teambuilder) would have a list of requirements. Those requirements would start getting loaded as soon as the client is up, with for the files getting loaded a variable that indicates it's done.
When the guy opens the teambuilder, if all requirements for the teambuilder are not loaded yet, a loading message would appear.
Same with battles. Battles would need to get paused (this.pause()! ) and unpaused when requirements are loaded.
That system of requirements can be used later if other parts need it.
The text was updated successfully, but these errors were encountered:
The db files for the pokedex are huge.
So a system to load libraries would be good, using $.getScript.
Don't forget that somewhere:
So each file (battles, teambuilder) would have a list of requirements. Those requirements would start getting loaded as soon as the client is up, with for the files getting loaded a variable that indicates it's done.
When the guy opens the teambuilder, if all requirements for the teambuilder are not loaded yet, a loading message would appear.
Same with battles. Battles would need to get paused (this.pause()! ) and unpaused when requirements are loaded.
That system of requirements can be used later if other parts need it.
The text was updated successfully, but these errors were encountered: