MCPcopy Index your code
hub / github.com/angular-ui/ui-router / parseMaxTime

Function parseMaxTime

test/angular/1.3/angular-animate.js:1745–1754  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

1743 }
1744
1745 function parseMaxTime(str) {
1746 var maxValue = 0;
1747 var values = isString(str) ?
1748 str.split(/\s*,\s*/) :
1749 [];
1750 forEach(values, function(value) {
1751 maxValue = Math.max(parseFloat(value) || 0, maxValue);
1752 });
1753 return maxValue;
1754 }
1755
1756 function getCacheKey(element) {
1757 var parentElement = element.parent();

Callers 1

Calls 2

isStringFunction · 0.70
forEachFunction · 0.70

Tested by

no test coverage detected