remove an obsrvable element

        :param str observableElement: the name of the observable element
486705
def remove(self, observableElement):
        
        if observableElement in self._observables:
            self._observables.remove(observableElement)
162432
function(element)
	{
		var list = element.mxListenerList;

		if (list != null)
		{
			while (list.length > 0)
			{
				var entry = list[0];
				mxEvent.removeListener(element, entry.name, entry.f);
			}
		}
	}
18730
def org_remove_member(object_id, input_params={}, always_retry=True, **kwargs):
    
    return DXHTTPRequest('/%s/removeMember' % object_id, input_params, always_retry=always_retry, **kwargs)
1372927
public static void removeChildrenFrom(final Element element) {
        if (element != null) {
            while (element.getFirstChild() != null) {
                element.removeChild(element.getFirstChild());
            }
        }
    }
844530
function (element){
    var dictionary = {
        '_title' : 'stx_element',
        '_fresh' : 'stx_empty',
        '_props[]' : 'REMOVE THIS ELEMENT NOW',
        '_index' : 'stx_position',
        '_key' : 'stx_unique'
    };

    this.packet = {};

    for (each in element) {
        var prefix = each.split('')[0];

        if (prefix == '_') {
            var newTitle = dictionary[each];
            if (newTitle != "REMOVE THIS ELEMENT NOW") this.packet[newTitle] = element[each];
        } else {
            this.packet[each] = element[each];
        }
    }
}
768063
public void removeElement(CmsContainerPageElementPanel elementWidget) {

        if (elementWidget.getInheritanceInfo().isNew()) {
            getHandler().removeElement(elementWidget, ElementRemoveMode.saveAndCheckReferences);
        } else {
            elementWidget.getInheritanceInfo().setVisible(false);
            elementWidget.addStyleName(HIDDEN_ELEMENT_CLASS);
            Element elementOverlay = DOM.createDiv();
            elementOverlay.setClassName(HIDDEN_ELEMENT_OVERLAY_CLASS);
            elementWidget.getElement().appendChild(elementOverlay);
            getGroupContainerWidget().add(elementWidget);
            updateButtonVisibility(elementWidget);
            m_showElementsButton.enable();
            getGroupContainerWidget().refreshHighlighting();
        }
        m_changedInheritanceInfo = true;
    }
392139
function (newTokens, oldTokens) {
                    var i;
                    var token;
                    var replacedTokens = {};
                    var removedTokens = subtractAsSets(oldTokens, newTokens);
                    for (i = 0; i < removedTokens.length; i++) {
                        var removedToken = removedTokens[i];
                        var el = map[removedToken];
                        delete map[removedToken];
                        var newToken = tokenFn(el);
                        // if the element wasn't removed but simply got a new token, its old token will be different from the current one
                        if (newToken === removedToken) {
                            self.onRemoved(el);
                        } else {
                            replacedTokens[newToken] = removedToken;
                            self.onChanged(el);
                        }
                    }

                    var addedTokens = subtractAsSets(newTokens, oldTokens);
                    for (i = 0; i < addedTokens.length; i++) {
                        token = addedTokens[i];
                        if (!replacedTokens[token]) {
                            self.onAdded(map[token]);
                        }
                    }
                }
466333
def delete_element(self, element):
        
        if element not in self.element_finder:
            raise ValueError("No such element in the priority queue.")
        entry = self.element_finder[element]
        entry[1] = self.INVALID
1051657
def _delete_element(name, element_type, data, server=None):
    '''
    
    '''
    _api_delete('{0}/{1}'.format(element_type, quote(name, safe='')), data, server)
    return name
535374
public final void remove(ObservableDoubleValue dependency) {
        requireNonNull(dependency, "Parameter 'dependency' is null");

        if (dependencies.contains(dependency)) {

            dependencies.remove(dependency);
            unbind(dependency);
            invalidate();

        } else {
            LOGGER.warn("Dependency not included: " + dependency + ", Skipping.");
        }
    }
784583
function(enabledElement) {
  if (store.modules) {
    _cleanModulesOnElement(enabledElement);
  }

  const foundElementIndex = store.state.enabledElements.findIndex(
    element => element === enabledElement
  );

  if (foundElementIndex > -1) {
    store.state.enabledElements.splice(foundElementIndex, 1);
  } else {
    logger.warn('unable to remove element');
  }
}
907049
public void removeElementScoped(TreeElement elem, RemoveInfo removes)
    {
        assert(elem != null);

        // check to see if we can exist without processing this element.  If the element
        // didn't define any attribute then we can.  This is inforced in the addElement method.
        ArrayList attrs = elem.getAttributeList();
        if (attrs == null || attrs.size() == 0)
            return;

        // walk all of the lists and each list looking for attributes that
        // are scoped only to the element
        for (int i = 0; i < _lists.length; i++) {
            ArrayList al = _lists[i];
            assert(al != null);

            int cnt = al.size();
            for (int j = 0; j < cnt; j++) {
                TreeHtmlAttributeInfo attr = (TreeHtmlAttributeInfo) al.get(j);
                assert(attr != null);
                // Remove all of the attributes not scoped to the element itself.  We need to
                // update the indexes because this removes the current item..
                if (!attr.isApplyToDescendents()) {
                    al.remove(j);
                    cnt--;
                    j--;
                    if (removes != null && removes.scopeOverrides) {
                        TreeHtmlAttributeInfo addBack = checkScopeRemoval(i, attr, removes);
                        if (addBack != null) {
                            if (!al.contains(addBack))
                                al.add(addBack);
                        }
                    }
                }
            }
        }
    }
1305289
def areObservableElements(self, elementNames):
        
        if not(hasattr(elementNames, "__len__")):
            raise TypeError(
                "Element name should be a array of strings." +
                "I receive this {0}"
                .format(elementNames))

        return self._evaluateArray(elementNames)
1268276
function removeChild(parent, element) {
    parent = getComponentNode(parent) || parent;
    element = getComponentNode(element) || element;
    parent.removeChild(element);
    return disconnect(element);
}
1082669
public void removeChild(TreeElement child)
    {

        if (child == null || _children == null)
            return;

        int size = _children.size();
        int removeIndex = -1;
        for (int i = 0; i < size; i++) {
            if (child == (TreeElement) _children.get(i)) {
                _children.remove(i);
                child.setParent(null);
                removeIndex = i;
                break;
            }
        }
        if (removeIndex >= 0) {
            size = _children.size();
            for (int i = removeIndex; i < size; i++) {
                TreeElement thisChild = (TreeElement) _children.get(i);
                thisChild.updateName(this, i);
            }
        }
    }
810385
function removeEnabledElementCallback(enabledElement) {
  if (!external.cornerstone) {
    return;
  }

  const cornerstoneEnabledElement = external.cornerstone.getEnabledElement(
    enabledElement
  );

  const enabledElementUID = cornerstoneEnabledElement.uuid;
  const colormap = external.cornerstone.colors.getColormap(state.colorMapId);
  const numberOfColors = colormap.getNumberOfColors();

  // Remove enabledElement specific data.
  delete state.visibleSegmentations[enabledElementUID];
  delete state.imageBitmapCache[enabledElementUID];
}
817648
def clear(self):
        
        def clear_element():
            """
            Wrapper to clear element
            """
            return self.element.clear()
        self.execute_and_handle_webelement_exceptions(clear_element, 'clear')
        return self