mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-06-02 22:09:20 -05:00
New command /debug extractteams
I'm considering adding more commands like these to debug client issues.
This commit is contained in:
parent
c5fd102c93
commit
57946a918a
|
|
@ -516,6 +516,15 @@
|
|||
openUser(target);
|
||||
return false;
|
||||
|
||||
case 'debug':
|
||||
if (target === 'extractteams') {
|
||||
app.addPopup(Popup, {
|
||||
type: 'modal',
|
||||
htmlMessage: "Extracted team data:<br /><textarea rows=\"10\" cols=\"60\">" + Tools.escapeHTML(JSON.stringify(Storage.teams)) + "</textarea>"
|
||||
});
|
||||
}
|
||||
return false;
|
||||
|
||||
case 'autojoin':
|
||||
case 'cmd':
|
||||
case 'query':
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user