MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / compute

Function compute

web/static/bower_components/angular/angular.js:11044–11050  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

11042
11043 if (!mustHaveExpression || expressions.length) {
11044 var compute = function(values) {
11045 for (var i = 0, ii = expressions.length; i < ii; i++) {
11046 if (allOrNothing && isUndefined(values[i])) return;
11047 concat[expressionPositions[i]] = values[i];
11048 }
11049 return concat.join('');
11050 };
11051
11052 var getValue = function(value) {
11053 return trustedContext ?

Callers 1

$interpolateFunction · 0.85

Calls 1

isUndefinedFunction · 0.85

Tested by

no test coverage detected