FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIAuto::unregisterProperty ( const std::string &  name)
virtual

Unregisters a property that has been exposed to javascript.

This is the opposite of registerProperty

Parameters
nameThe name that the method will have when accessed from javascript.
See Also
registerProperty
Since
1.4b4

Definition at line 116 of file JSAPIAuto.cpp.

117 {
118  FB::PropertyFunctorsMap::iterator fnd = m_propertyFunctorsMap.find(name);
119  if (fnd != m_propertyFunctorsMap.end()) {
120  m_propertyFunctorsMap.erase(name);
121  m_zoneMap.erase(name);
122  }
123 }