MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / compute

Function compute

OpenReservation/wwwroot/Scripts/angular.js:12110–12116  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

12108
12109 if (!mustHaveExpression || expressions.length) {
12110 var compute = function (values) {
12111 for (var i = 0, ii = expressions.length; i < ii; i++) {
12112 if (allOrNothing && isUndefined(values[i])) return;
12113 concat[expressionPositions[i]] = values[i];
12114 }
12115 return concat.join('');
12116 };
12117
12118 var getValue = function (value) {
12119 return trustedContext ? $sce.getTrusted(trustedContext, value) : $sce.valueOf(value);

Callers 1

$interpolateFunction · 0.85

Calls 1

isUndefinedFunction · 0.85

Tested by

no test coverage detected