Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index f90e254bdc07551b936117e7185cf3ba2a24937e..0c46142bef3f85c9765780b52fddefbc1221c24f 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -986,9 +986,10 @@ static void configure{{v8_class}}Template(v8::Handle<v8::FunctionTemplate> funct |
{# Needed for legacy support of document.all #} |
functionTemplate->InstanceTemplate()->MarkAsUndetectable(); |
{% endif %} |
- {% for method in methods if not method.do_not_check_signature %} |
+ {% for method in methods %} |
{# install_custom_signature #} |
- {% if not method.overload_index or method.overload_index == 1 %} |
+ {% if not(method.overloads.do_not_check_signature_any if method.overloads else |
Nils Barth (inactive)
2014/06/11 06:28:28
I think this can be:
if not((method.overloads and
|
+ (method.overload_index or method.do_not_check_signature)) %} |
{# For overloaded methods, only generate one accessor #} |
{% filter conditional(method.conditional_string) %} |
{% if method.is_do_not_check_security %} |