MCPcopy
hub / github.com/BorisMoore/jquery-tmpl / formatName

Function formatName

demos/movies/components/jquery-ui-1.8.1.custom.js:1333–1335  ·  view source on GitHub ↗
(match, value, shortNames, longNames)

Source from the content-addressed store, hash-verified

1331 };
1332 // Format a name, short or long as requested
1333 var formatName = function(match, value, shortNames, longNames) {
1334 return (lookAhead(match) ? longNames[value] : shortNames[value]);
1335 };
1336 var output = '';
1337 var literal = false;
1338 if (date)

Callers 1

Calls 1

lookAheadFunction · 0.85

Tested by

no test coverage detected