Index: src/JsEngine.cpp |
diff --git a/src/JsEngine.cpp b/src/JsEngine.cpp |
index dc4688ff61124be3c1029b11f346fa9a61930d29..b5839ec64014ebaf470de2993e20cf66d064e47c 100644 |
--- a/src/JsEngine.cpp |
+++ b/src/JsEngine.cpp |
@@ -144,6 +144,12 @@ AdblockPlus::JsValuePtr AdblockPlus::JsEngine::NewObject() |
return JsValuePtr(new JsValue(shared_from_this(), v8::Object::New())); |
} |
+AdblockPlus::JsValuePtr AdblockPlus::JsEngine::NewArray() |
+{ |
+ const JsContext context(shared_from_this()); |
+ return JsValuePtr(new JsValue(shared_from_this(), v8::Array::New())); |
Wladimir Palant
2015/01/22 15:19:51
That method is unused now. You might argue that it
sergei
2015/01/22 16:15:11
Sorry, forgot about it. Removed.
|
+} |
+ |
AdblockPlus::JsValuePtr AdblockPlus::JsEngine::NewCallback( |
v8::InvocationCallback callback) |
{ |