From eb8d7805cc56ebaa7306c50e5664576dcf5bbf8b Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Tue, 14 May 2013 23:32:10 -0700 Subject: [PATCH] Move version number to client.js --- js/client-mainmenu.js | 2 +- js/client.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index e1a7de26d..05be0ad08 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -700,7 +700,7 @@ initialize: function() { var buf = ''; buf += '

Pokémon Showdown (beta)

'; - buf += '

Version 0.9 beta

'; + buf += '

Version '+Config.version+'

'; buf += '

(Credits in alphabetical order)

'; buf += '

Owner

'; buf += ''; diff --git a/js/client.js b/js/client.js index e62ab2dc2..1e1fdb4ba 100644 --- a/js/client.js +++ b/js/client.js @@ -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