From 65d130b33f8880b650d5e36d38ca2e50b384aaef Mon Sep 17 00:00:00 2001 From: Travis Schettler <travis_schettler@hotmail.com> 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