function clearToolOptions(toolType, element) {
  var toolOptions = elementToolOptions[toolType];

  if (toolOptions) {
    elementToolOptions[toolType] = toolOptions.filter(function (toolOptionObject) {
      return toolOptionObject.element !== element;
    });
  }
}
/**
 * Clear the options object associated with a particular toolType and element
 *
 * @param {string} toolType Tool type identifier of the target options object
 * @param {HTMLElement} element Element of the target options object
 *
 * @return {void}
 */
Clear the options object associated with a particular toolType and element
@param {string} toolType Tool type identifier of the target options object
@param {HTMLElement} element Element of the target options object

@return {void}
Clear the options object associated with a particular toolType and element @param { string } toolType Tool type identifier of the target options object @param { HTMLElement } element Element of the target options object @return { void }
function clearToolOptions(toolType, element) {
  var toolOptions = elementToolOptions[toolType];
  if (toolOptions) {
    elementToolOptions[toolType] = toolOptions.filter(function (toolOptionObject) {
      return toolOptionObject.element !== element;
    });
  }
}
function clearToolOptions ( toolType , element ) { var toolOptions = elementToolOptions [ toolType ] ; if ( toolOptions ) { elementToolOptions [ toolType ] = toolOptions . filter ( function ( toolOptionObject ) { return toolOptionObject . element !== element ; } ) ; } }
Clear the options object associated with a particular toolType and element
 @param {string} toolType Tool type identifier of the target options object
 @param {HTMLElement} element Element of the target options object
Clear the options object associated with a particular toolType and element @param { string } toolType Tool type identifier of the target options object @param { HTMLElement } element Element of the target options object