Remove structure tree helper function that was never used since 932dbc7221.

This was SVN commit r18949.
This commit is contained in:
elexis 2016-11-16 10:07:08 +00:00
parent 95fa246b82
commit d623a73f9f

View File

@ -78,20 +78,6 @@ function fetchValue(templateName, keypath)
return template[keys[k]];
}
/**
* Fetch tokens from an entity's template
* @return An array containing all tokens if found, else an empty array
* @see fetchValue
*/
function fetchTokens(templateName, keypath)
{
var val = fetchValue(templateName, keypath);
if (!("_string" in val))
return [];
return val._string.split(" ");
}
function depath(path)
{
return path.slice(path.lastIndexOf("/") + 1);