Skip to content

Commit e6e1521

Browse files
committed
Addon to the Common.mm change from earlier
1 parent f1af1ff commit e6e1521

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

NativeScript/runtime/Common.mm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include "Common.h"
2+
#include "Caches.h"
3+
4+
namespace tns {
5+
// static
6+
v8::Local<v8::Object> CommonPrivate::CreateExtensibleWrapperObject(v8::Isolate* isolate, v8::Local<v8::Context> context)
7+
{
8+
return Caches::Get(isolate)->WrapperObjectTemplate.Get(isolate)->NewInstance(context).ToLocalChecked();
9+
}
10+
}

0 commit comments

Comments
 (0)