diff --git a/Source/Modules/javascript.cxx b/Source/Modules/javascript.cxx index 68c97e641..d2b33b1b4 100644 --- a/Source/Modules/javascript.cxx +++ b/Source/Modules/javascript.cxx @@ -788,14 +788,6 @@ int JSEmitter::emitWrapperFunction(Node *n) { int JSEmitter::emitNativeFunction(Node *n) { String *wrapname = Getattr(n, "wrap:name"); - // ismember never seems to be the case; - // it is technically possible to add native member functions, - // just not at the moment? leaving this as an option for later; - // the code will automatically defaulting to static space - if (GetFlag(n, "ismember") != 0) - Setattr(n, "feature:extend", "1"); // member space - else - Setattr(n, "feature:extend", "0"); // static space enterFunction(n); state.function(WRAPPER_NAME, wrapname); exitFunction(n);