diff options
Diffstat (limited to 'fxjs/cjs_v8.cpp')
-rw-r--r-- | fxjs/cjs_v8.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fxjs/cjs_v8.cpp b/fxjs/cjs_v8.cpp index 7855813cba..0a1674076d 100644 --- a/fxjs/cjs_v8.cpp +++ b/fxjs/cjs_v8.cpp @@ -60,6 +60,10 @@ v8::Local<v8::Array> CJS_V8::NewArray() { return v8::Array::New(m_isolate); } +v8::Local<v8::Object> CJS_V8::NewObject() { + return v8::Object::New(m_isolate); +} + unsigned CJS_V8::PutArrayElement(v8::Local<v8::Array> pArray, unsigned index, v8::Local<v8::Value> pValue) { |