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
|
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
|
||||||
|
|
Loading…
Reference in a new issue