mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-22 16:15:11 -05:00
The teambuilder is now running on search.js! Not all new features I'd like to be in are in, but we've now reached feature parity, and most of the bugs I found during testing have been fixed. New in search.js is on-demand DOM loading, which basically means much faster performance because instead of trying to load every single row of e.g. the pokemon list at once, we just load the part that's visible, and load the rest only when you scroll it into view. Also new in search.js is a dexsearch-like feature, replacing the old details-search system. The new filter system is simpler and more powerful and has the same API as /dexsearch, although not all the more advanced dexsearch features are supported. On-demand DOM loading makes teambuilder loading pretty much completely instantaneous. There are other small differences in how selection of pokemon/items/abilities/moves works, but it should overall make more sense.
175 lines
7.7 KiB
HTML
175 lines
7.7 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
.............
|
|
,...................
|
|
,..................========
|
|
....~=##############=======+
|
|
...##################=======.
|
|
..=######+..., +##=======,..
|
|
..=###### ., ..... +=====+,....
|
|
###########~,.. ======
|
|
.....##############~=====+.....,
|
|
..........###########====......
|
|
............#######,==......
|
|
=###.,........+#####+ .......
|
|
####################~......,
|
|
#################+======,
|
|
++++++++++++ =======+
|
|
|
|
Pokemon Showdown - http://pokemonshowdown.com/
|
|
MIT license
|
|
|
|
Viewing source? We're open source! Why not check out our GitHub
|
|
repository and come help out?
|
|
|
|
server: http://github.com/Zarel/Pokemon-Showdown
|
|
client: http://github.com/Zarel/Pokemon-Showdown-Client (you are here)
|
|
|
|
Also feel free to visit us in the Development chatroom:
|
|
http://play.pokemonshowdown.com/development
|
|
|
|
-->
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta id="viewport" name="viewport" content="width=device-width" />
|
|
<title>Showdown!</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
|
|
<link rel="shortcut icon" href="//play.pokemonshowdown.com/favicon.ico" id="dynamic-favicon" />
|
|
<link rel="icon" sizes="128x128" href="//play.pokemonshowdown.com/favicon-128.png" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/client.css?" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/sim-types.css?" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/battle.css?" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/utilichart.css?" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/font-awesome.css?" />
|
|
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/jquery.slider.min.css?" />
|
|
<!-- meta name="mobile-web-app-capable" content="yes" / -->
|
|
<!-- meta name="apple-mobile-web-app-capable" content="yes" / -->
|
|
<meta name="robots" content="noindex" />
|
|
<script>
|
|
var Config = {};
|
|
</script>
|
|
<!--[if lte IE 8]><script>
|
|
document.location.replace('http://pokemonshowdown.com/autodownload/win');
|
|
</script><![endif]-->
|
|
|
|
<!-- Google Analytics -->
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
if (!(/^(.*)\.psim\.us$/i.test(document.location.hostname))) {
|
|
ga('create', 'UA-26211653-1', 'pokemonshowdown.com');
|
|
} else {
|
|
ga('create', 'UA-26211653-2', 'psim.us');
|
|
}
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
<!-- End Google Analytics -->
|
|
<script>
|
|
window.onerror = function(err, uri, line) {
|
|
var msg = uri + ':' + line + ': ' + err;
|
|
if ('ga' in window) {
|
|
ga('send', 'event', 'Client error', msg);
|
|
} else {
|
|
alert('ERROR: ' + msg);
|
|
}
|
|
return false;
|
|
};
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="header" class="header">
|
|
<img class="logo" src="//play.pokemonshowdown.com/pokemonshowdownbeta.png" alt="Pokémon Showdown! (beta)" width="146" height="44" /><div class="maintabbarbottom"></div>
|
|
</div>
|
|
<div class="ps-room scrollable" id="mainmenu"><div class="mainmenuwrapper">
|
|
<div class="leftmenu">
|
|
<div class="activitymenu">
|
|
<div class="pmbox">
|
|
<div class="pm-window news-embed" data-newsid="<!-- newsid -->">
|
|
<h3><button class="closebutton" tabindex="-1"><i class="fa fa-times-circle"></i></button><button class="minimizebutton" tabindex="-1"><i class="fa fa-minus-circle"></i></button>News</h3>
|
|
<div class="pm-log" style="max-height:none">
|
|
<!-- news -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="mainmenu">
|
|
<div id="loading-message" class="mainmessage">Initializing... <noscript>FAILED<br /><br />Pokémon Showdown requires JavaScript.</noscript></div>
|
|
</div>
|
|
</div>
|
|
<div class="rightmenu">
|
|
</div>
|
|
<div class="mainmenufooter">
|
|
<small><a href="//pokemonshowdown.com/" target="_blank"><strong>Pokémon Showdown</strong></a> | <a href="http://smogon.com/" target="_blank"><strong>Smogon</strong></a><br><a href="//pokemonshowdown.com/dex/" target="_blank">Pokédex</a> | <a href="//pokemonshowdown.com/replay/" target="_blank">Replays</a> | <a href="//pokemonshowdown.com/rules" target="_blank">Rules</a> | <a href="http://smogon.com/forums/" target="_blank">Forum</a></small>
|
|
</div>
|
|
</div></div>
|
|
<script>
|
|
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading libraries...';
|
|
</script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/jquery-2.1.4.min.js"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/jquery-cookie.js"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/autoresize.jquery.min.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/jquery.json-2.3.min.js"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/soundmanager2-nodebug-jsmin.js?"></script>
|
|
<script>
|
|
soundManager.setup({url: '//play.pokemonshowdown.com/swf/'});
|
|
</script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/html-css-sanitizer-minified.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/lodash.compat.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/backbone.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/d3.v3.min.js"></script>
|
|
|
|
<script>
|
|
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading data...';
|
|
</script>
|
|
|
|
<script src="//play.pokemonshowdown.com/js/config.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/battledata.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/storage.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/pokedex-mini.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/typechart.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/battle.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/sockjs-0.3.4.min.js"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/color-thief.min.js"></script>
|
|
|
|
<script>
|
|
document.getElementById('loading-message').innerHTML += ' DONE<br />Loading client...';
|
|
</script>
|
|
|
|
<script src="//play.pokemonshowdown.com/js/client.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-mainmenu.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-teambuilder.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-ladder.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-chat.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-chat-tournament.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-battle.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/client-rooms.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/graphics.js?"></script>
|
|
|
|
<script>
|
|
var app = new App();
|
|
</script>
|
|
|
|
<script src="//play.pokemonshowdown.com/data/learnsets-g6.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/lib/jquery.slider.min.js?"></script>
|
|
|
|
<script src="//play.pokemonshowdown.com/data/pokedex.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/formats-data.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/moves.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/items.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/abilities.js?"></script>
|
|
|
|
<script src="//play.pokemonshowdown.com/data/search-index.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/data/teambuilder-tables.js?"></script>
|
|
<script src="//play.pokemonshowdown.com/js/search.js?"></script>
|
|
|
|
<script src="//play.pokemonshowdown.com/data/aliases.js?" async="async"></script>
|
|
|
|
</body>
|
|
</html>
|