Ox.Element: remove removeElement
This commit is contained in:
parent
aef8e2b188
commit
be043b545b
1 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue