Index: compiled/bindings/main.cpp |
=================================================================== |
--- a/compiled/bindings/main.cpp |
+++ b/compiled/bindings/main.cpp |
@@ -69,17 +69,19 @@ |
.function("isActiveOnlyOnDomain", &ActiveFilter::IsActiveOnlyOnDomain) |
.function("isGeneric", &ActiveFilter::IsGeneric) |
.function("serialize", &ActiveFilter::Serialize); |
class_<RegExpFilter,ActiveFilter>("RegExpFilter") |
.function("matches", &RegExpFilter::Matches); |
class_<BlockingFilter,RegExpFilter>("BlockingFilter") |
- .class_property("type", "'blocking'"); |
+ .class_property("type", "'blocking'") |
+ .property("collapse", &BlockingFilter::GetCollapse); |
sergei
2017/10/13 07:52:14
JIC, it would be better to add tests that the prop
hub
2017/10/13 15:41:03
Done.
sergei
2017/11/21 11:24:03
Could you please add the test for ~collapse?
hub
2017/11/21 15:18:19
will do
hub
2017/11/21 15:37:58
Done.
|
+ |
class_<WhitelistFilter,RegExpFilter>("WhitelistFilter") |
.class_property("type", "'whitelist'"); |
class_<ElemHideBase,ActiveFilter>("ElemHideBase") |
.property("selector", &ElemHideBase::GetSelector) |
.property("selectorDomain", &ElemHideBase::GetSelectorDomain); |