aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-15 17:48:15 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-18 20:08:28 +0300
commit51c2826d68883d2324c728558aa10a8ffc299d1b (patch)
tree2b808271ed89d852a502662a5ae2dcb8f974567c
parent477cde821da19c3a04450cf9072068b87295ec99 (diff)
Remove validateThis since it was also deleted in imvu/emscripten upstream.
-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.