FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
FB::JSObjectPtr FB::DOM::Window::createArray ( ) const
virtual

Creates a javascript array object and returns it.

Returns
new empty javascript array

Definition at line 49 of file ScriptingCore/DOM/Window.cpp.

50 {
51  JSObjectPtr arr = this->callMethod<JSObjectPtr>("Array", FB::VariantList());
52  return arr;
53 }
boost::shared_ptr< FB::JSObject > JSObjectPtr
Defines an alias representing a JSObject shared_ptr (you should never use a JSObject* directly) ...
Definition: APITypes.h:109
std::vector< variant > VariantList
Defines an alias representing list of variants.
Definition: APITypes.h:64