Ox.Element: remove removeElement

This commit is contained in:
rlx 2014-09-22 17:38:37 +02:00
parent aef8e2b188
commit be043b545b

View file

@ -343,8 +343,9 @@
this.$element, arguments this.$element, arguments
), ),
oxid; oxid;
// if exactly one $element of an Ox object was returned, then return the // If exactly one $element of an Ox Element was returned, then
// Ox object instead, so that we can do oxObj.jqFn().oxFn() // return the Ox Element instead, so that we can do
// oxObj.jqFn().oxFn()
return $element && $element.jquery && $element.length == 1 return $element && $element.jquery && $element.length == 1
&& Ox.elements[oxid = $element.data('oxid')] && Ox.elements[oxid = $element.data('oxid')]
? Ox.elements[oxid] : $element; ? Ox.elements[oxid] : $element;
@ -593,11 +594,6 @@
}; };
*/ */
Ox.Element.prototype.removeElement = function removeElement() {
// ...
return this;
};
/*@ /*@
setElement <f> set $element setElement <f> set $element
($element) -> <o> This element ($element) -> <o> This element