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