aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/embind/embind.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index 4aa8038d..4cc111a3 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -1275,8 +1275,8 @@ function __embind_register_class_function(
"return function "+makeLegalFunctionName(humanName)+"("+argsList+") {\n" +
"if (arguments.length !== "+(argCount - 2)+") {\n" +
"throwBindingError('function "+humanName+" called with ' + arguments.length + ' arguments, expected "+(argCount - 2)+" args!');\n" +
- "}\n" +
- "validateThis(this, classType, '"+humanName+"');\n";
+ "}\n";// +
+ //"validateThis(this, classType, '"+humanName+"');\n";
// Determine if we need to use a dynamic stack to store the destructors for the function parameters.
// TODO: Remove this completely once all function invokers are being dynamically generated.