whole_func_string: function getAssetDir() {
  	var dir = path.dirname(process.argv[1]);
  
  	if (isDev()) {
  		let epeiosPath = getEpeiosPath();
  		return path.resolve(epeiosPath, "tools/xdhq/examples/common/", path.relative(path.resolve(epeiosPath, "tools/xdhq/examples/NJS/"), path.resolve(dir)));	// No final '/'.
  	} else
  		return path.resolve(dir);
  }
func_code_string: function getAssetDir() {
  	var dir = path.dirname(process.argv[1]);
  
  	if (isDev()) {
  		let epeiosPath = getEpeiosPath();
  		return path.resolve(epeiosPath, "tools/xdhq/examples/common/", path.relative(path.resolve(epeiosPath, "tools/xdhq/examples/NJS/"), path.resolve(dir)));	// No final '/'.
  	} else
  		return path.resolve(dir);
  }
func_documentation_string: Returns the directory which contains all the assets, based on the directory from where the app. were launched.