Skip to content

Commit

Permalink
Added extendFuncMap to Predicate.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettler committed Mar 9, 2018
1 parent 599cafa commit 2859706
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/a44_predicate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2859706

Please sign in to comment.