mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Add new function battle.insertQueue that inserts a decision into the correct position in an already-sorted queue instead of re-sorting. Also, to prevent code reuse, add new funciton battle.resolvePriority to deal with shared code between battle.addQueue and battle.insertQueue. |
||
|---|---|---|
| .. | ||
| application | ||
| dev-tools/jscs-custom-rules | ||
| simulator | ||
| main.js | ||
| mocha.opts | ||