<commit_before>/**
 * @autor kgar
 * @date 01.09.2014.
 * @company Gameduell GmbH
 */
package duell.build.plugin.platform;

typedef PlatformConfigurationData = {
PLATFORM_NAME : String,
DEFAULT_BROWSER : String,
SWF_NAME : String,
WIDTH : String,
HEIGHT : String,
SWF_VERSION : String,
TARGET_PLAYER : String,
BUILD_DIR : String,
FPS  : String,
BGCOLOR : String,
}

class PlatformConfiguration
{
	public static var _configuration : PlatformConfigurationData = null;
	public static var _parsingDefines : Array<String> = ["html5"];
	public function new()
	{}

	public static function getData() : PlatformConfigurationData
	{
	    if(_configuration == null)
	    	initConfig();

	    return _configuration;
	}
	public static function getConfigParsingDefines() : Array<String>
	{
	    return _parsingDefines;
	}
	public static function addParsingDefines(str : String):Void
	{
	    _parsingDefines.push(str);
	}
	public static function initConfig() : Void
	{
	    _configuration = 
	    {
			PLATFORM_NAME : "html5",
	    };
	}

}<commit_msg>-Added Platform Configuration for HTML5<commit_after>/**
 * @autor kgar
 * @date 01.09.2014.
 * @company Gameduell GmbH
 */
package duell.build.plugin.platform;

typedef PlatformConfigurationData = {
PLATFORM_NAME : String,
WIDTH : String,
HEIGHT : String,
BGCOLOR : String
}

class PlatformConfiguration
{
	public static var _configuration : PlatformConfigurationData = null;
	public static var _parsingDefines : Array<String> = ["html5"];
	public function new()
	{}

	public static function getData() : PlatformConfigurationData
	{
	    if(_configuration == null)
	    	initConfig();

	    return _configuration;
	}
	public static function getConfigParsingDefines() : Array<String>
	{
	    return _parsingDefines;
	}
	public static function addParsingDefines(str : String):Void
	{
	    _parsingDefines.push(str);
	}
	public static function initConfig() : Void
	{
	    _configuration = 
	    {
			PLATFORM_NAME : "html5",
			WIDTH : "800",
			HEIGHT : "600",
			BGCOLOR : "#FFF"//same as #FFFFFF
	    };
	}

}
{'fraction_non_alphanumeric': 0.10503175378602833, 'fraction_numerical': 0.013190034196384953, 'mean_word_length': 4.007334963325183, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3516467', 'n_tokens_mistral': 700, 'n_tokens_neox': 644, 'n_words': 160}