MCPcopy Create free account
hub / github.com/angular-ui/ui-router / compute

Function compute

test/angular/1.5/angular.js:12647–12653  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

12645
12646 if (!mustHaveExpression || expressions.length) {
12647 var compute = function(values) {
12648 for (var i = 0, ii = expressions.length; i < ii; i++) {
12649 if (allOrNothing && isUndefined(values[i])) return;
12650 concat[expressionPositions[i]] = values[i];
12651 }
12652 return concat.join('');
12653 };
12654
12655 var getValue = function(value) {
12656 return trustedContext ?

Callers 1

$interpolateFunction · 0.70

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected