mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Fix overlooked paths from directory reorg
This commit is contained in:
parent
4fa3ed7c33
commit
5b97740c80
|
|
@ -3,9 +3,9 @@ import preact from 'preact';
|
|||
import $ from 'jquery';
|
||||
import {Net} from './utils';
|
||||
import {PSRouter, PSReplays} from './replays';
|
||||
import {Battle} from '../../src/battle';
|
||||
import {BattleLog} from '../../src/battle-log';
|
||||
import {BattleSound} from '../../src/battle-sound';
|
||||
import {Battle} from '../../play.pokemonshowdown.com/src/battle';
|
||||
import {BattleLog} from '../../play.pokemonshowdown.com/src/battle-log';
|
||||
import {BattleSound} from '../../play.pokemonshowdown.com/src/battle-sound';
|
||||
declare function toID(input: string): string;
|
||||
|
||||
function showAd(id: string) {
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ const path = require('path');
|
|||
|
||||
process.chdir(path.resolve(__dirname, '..'));
|
||||
|
||||
require(`../js/battle-dex.js`); // only needed for toID
|
||||
global.BattleText = require(`../data/text.js`).BattleText;
|
||||
require(`../js/battle-text-parser.js`);
|
||||
require(`../play.pokemonshowdown.com/js/battle-dex.js`); // only needed for toID
|
||||
global.BattleText = require(`../play.pokemonshowdown.com/data/text.js`).BattleText;
|
||||
require(`../play.pokemonshowdown.com/js/battle-text-parser.js`);
|
||||
|
||||
const parser = new BattleTextParser();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user