1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:18:11 +02:00
commit e2a42ab04e
12 changed files with 47 additions and 47 deletions

View file

@ -458,8 +458,8 @@
Ox.Element.prototype.childrenElements = function childrenElements() {
return Ox.compact(
Ox.slice(this.children())
.filter(Ox.isOxElement)
.map(Ox.getOxElement)
.filter(Ox.UI.isElement)
.map(Ox.UI.getElement)
);
};
@ -498,7 +498,7 @@
@*/
Ox.Element.prototype.findElements = function findElements() {
return Ox.compact(
Ox.slice(this.find('.OxElement')).map(Ox.getOxElement)
Ox.slice(this.find('.OxElement')).map(Ox.UI.getElement)
);
};
@ -551,7 +551,7 @@
@*/
Ox.Element.prototype.nextElements = function nextElements() {
return Ox.compact(
this.nextAll().filter(Ox.isOxElement).map(Ox.getOxElement)
this.nextAll().filter(Ox.UI.isElement).map(Ox.UI.getElement)
);
};
@ -588,8 +588,8 @@
Ox.Element.prototype.parentElements = function parentElements() {
return Ox.compact(
Ox.slice(this.parents())
.filter(Ox.isOxElement)
.map(Ox.getOxElement)
.filter(Ox.UI.isElement)
.map(Ox.UI.getElement)
);
};
@ -620,7 +620,7 @@
@*/
Ox.Element.prototype.prevElements = function prevElements() {
return Ox.compact(
this.prevAll().filter(Ox.isOxElement).map(Ox.getOxElement)
this.prevAll().filter(Ox.UI.isElement).map(Ox.UI.getElement)
);
};
@ -698,8 +698,8 @@
Ox.Element.prototype.siblingElements = function siblingElements() {
return Ox.compact(
Ox.slice(this.siblings())
.filter(Ox.isOxElement)
.map(Ox.getOxElement)
.filter(Ox.UI.isElement)
.map(Ox.UI.getElement)
);
};