ExternalWebGame/index.js
/**
 * Reads Content from some file
 * @param {string} filename and path from file to read
 */
Reads Content from some file
@param {string} filename and path from file to read
Reads Content from some file @param { string } filename and path from file to read
function loadFile(filePath) {
	var result = null;
	var xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET", filePath, false);	
	xmlhttp.send();
	if (xmlhttp.status==200) {
		result = xmlhttp.responseText;
	}
	return result;
}
function loadFile ( filePath ) { var result = null ; var xmlhttp = new XMLHttpRequest ( ) ; xmlhttp . open ( "GET" , filePath , false ) ; xmlhttp . send ( ) ; if ( xmlhttp . status == 200 ) { result = xmlhttp . responseText ; } return result ; }
Reads Content from some file
 @param {string} filename and path from file to read
Reads Content from some file @param { string } filename and path from file to read