(str)
| 1285 | } |
| 1286 | |
| 1287 | function parseMaxTime(str) { |
| 1288 | var maxValue = 0; |
| 1289 | var values = angular.isString(str) ? |
| 1290 | str.split(/\s*,\s*/) : |
| 1291 | []; |
| 1292 | forEach(values, function(value) { |
| 1293 | maxValue = Math.max(parseFloat(value) || 0, maxValue); |
| 1294 | }); |
| 1295 | return maxValue; |
| 1296 | } |
| 1297 | |
| 1298 | function getCacheKey(element) { |
| 1299 | var parentElement = element.parent(); |
no test coverage detected