From 54b8aed0b0c83c9c4ce4cefe409b49d204f32594 Mon Sep 17 00:00:00 2001 From: Travis Schettler Date: Thu, 31 Aug 2017 17:11:16 -0500 Subject: [PATCH] Added extendFuncMap to Predicate. --- src/a44_predicate.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/a44_predicate.js b/src/a44_predicate.js index 8776793..a2ecb03 100644 --- a/src/a44_predicate.js +++ b/src/a44_predicate.js @@ -165,6 +165,12 @@ } }; + ctor.extendFuncMap = function (funcMap) { + for (var func in (funcMap || {})) { + var config = funcMap[func]; + FnExpr.funcMap[func] = config; + } + }; /** 'And's this Predicate with one or more other Predicates and returns a new 'composite' Predicate