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

Creates a javascript object and returns it.

Returns
new empty javascript object

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

56 {
57  JSObjectPtr arr = this->callMethod<JSObjectPtr>("Object", FB::VariantList());
58  return arr;
59 }
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