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

Function compute

test/angular/1.6/angular.js:13370–13376  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

13368
13369 if (!mustHaveExpression || expressions.length) {
13370 var compute = function(values) {
13371 for (var i = 0, ii = expressions.length; i < ii; i++) {
13372 if (allOrNothing && isUndefined(values[i])) return;
13373 concat[expressionPositions[i]] = values[i];
13374 }
13375 return concat.join('');
13376 };
13377
13378 var getValue = function(value) {
13379 return trustedContext ?

Callers 1

$interpolateFunction · 0.70

Calls 1

isUndefinedFunction · 0.70

Tested by

no test coverage detected