Skip to content

Commit 2859706

Browse files
committed
Added extendFuncMap to Predicate.
1 parent 599cafa commit 2859706

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/a44_predicate.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@
165165
}
166166
};
167167

168+
ctor.extendFuncMap = function (funcMap) {
169+
for (var func in (funcMap || {})) {
170+
var config = funcMap[func];
171+
FnExpr.funcMap[func] = config;
172+
}
173+
};
168174

169175
/**
170176
'And's this Predicate with one or more other Predicates and returns a new 'composite' Predicate

0 commit comments

Comments
 (0)