some are more than any

This commit is contained in:
j 2014-08-27 12:04:03 +02:00
parent 83f02ee417
commit 706e6d4a01

View file

@ -259,7 +259,7 @@ Ox.$ = Ox.element = function(value) {
className <s> Class name
@*/
hasClass: function hasClass(string) {
return elements.any(function(element) {
return elements.some(function(element) {
return Ox.contains(element.className.split(' '), string);
});
},