Skip to content

Commit ab31d72

Browse files
author
Mihail Slavchev
committed
remove setting of function class name
1 parent 908079e commit ab31d72

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "tns-android",
33
"description": "NativeScript Runtime for Android",
4-
"version": "2.4.0",
4+
"version": "2.4.1",
55
"files": [
66
"**/*"
77
]

runtime/src/main/jni/MetadataNode.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,6 @@ Local<FunctionTemplate> MetadataNode::GetConstructorFunctionTemplate(Isolate *is
829829

830830
node->SetInstanceMembers(isolate, ctorFuncTemplate, prototypeTemplate, instanceMethodsCallbackData, baseInstanceMethodsCallbackData, treeNode);
831831

832-
ctorFuncTemplate->SetClassName(ConvertToV8String(node->m_treeNode->name));
833-
834832
auto ctorFunc = ctorFuncTemplate->GetFunction();
835833

836834
auto origin = Constants::APP_ROOT_FOLDER_PATH + node->m_name;

0 commit comments

Comments
 (0)