OxElement: add empty forEach and removeElement methods

This commit is contained in:
rolux 2014-08-21 17:13:05 +02:00
parent 8e19b6f29b
commit d05b5ce811

View file

@ -422,6 +422,11 @@ Ox.Element = function(options, self) {
return Ox.map(that.find('.OxElement'), Ox.UI.getOxElement); return Ox.map(that.find('.OxElement'), Ox.UI.getOxElement);
}; };
that.forEach = function() {
// ...
return that;
};
/*@ /*@
gainFocus <function> Makes an element object gain focus gainFocus <function> Makes an element object gain focus
() -> <obj> This element object () -> <obj> This element object
@ -537,6 +542,11 @@ Ox.Element = function(options, self) {
}; };
*/ */
that.removeElement = function() {
// ...
return that;
};
/*@ /*@
setElement <f> set $element setElement <f> set $element
($element) -> <o> This element ($element) -> <o> This element