Move version number to client.js

This commit is contained in:
Guangcong Luo 2013-05-14 23:32:10 -07:00
parent a794b1d9ad
commit eb8d7805cc
2 changed files with 3 additions and 1 deletions

View File

@ -700,7 +700,7 @@
initialize: function() {
var buf = '';
buf += '<p style="text-align:center"><img src="http://dev.pokemonshowdown.com/pokemonshowdownbeta.png" alt="Pok&eacute;mon Showdown (beta)" /></p>';
buf += '<p style="text-align:center"><small>Version 0.9 beta</small></p>';
buf += '<p style="text-align:center"><small>Version '+Config.version+'</small></p>';
buf += '<p style="text-align:center"><small>(Credits in alphabetical order)</small></p>';
buf += '<h2>Owner</h2>';
buf += '<ul><li><p><a href="http://guangcongluo.com/" target="_blank" class="subtle"><strong>Guangcong Luo</strong> [<strong>Zarel</strong>]</a> <small>&ndash; Development, Design</small></p></li></ul>';

View File

@ -1,5 +1,7 @@
(function($) {
Config.version = '0.9 beta';
// `defaultserver` specifies the server to use when the domain name in the
// address bar is `play.pokemonshowdown.com`. If the domain name in the
// address bar is something else (including `dev.pokemonshowdown.com`), the