fluid.computeNickName(typeName)
Compute a "nickname" given a fully qualified typename, by returning the last path segment.
fluid.computeNickName(typeName);
File name: FileName.js
Parameters
typeName |
(Type) description |
Return Value
String | The last path segment of the specified typeName |
See Also
Examples
var shortName = fluid.computeNickName("fluid.uiOptions");
In this example, shortName
would have a value of "uiOptions."
var nick = fluid.computeNickName("cspace.autocomplete.popup");
In this example, nick
would have a value of "popup."