1
0
Fork 0
forked from 0x2620/oxjs

remove Ox.Break

This commit is contained in:
rolux 2012-07-05 10:58:08 +02:00
commit bda90f6b6b
44 changed files with 152 additions and 165 deletions

View file

@ -185,7 +185,7 @@ Ox.doc = (function() {
Ox.forEach(item.returns, function(v) {
if (v['class']) {
constructors.push(item);
Ox.Break();
return false; // break
}
});
}
@ -654,7 +654,7 @@ Ox.identify = (function() {
Ox.forEach(identifiers, function(words, type) {
if (words.indexOf(identifier) > -1) {
ret = type;
Ox.Break();
return false; // break
}
});
}
@ -874,7 +874,7 @@ Ox.test = function(argument, callback) {
if (v.tests[statement]) {
id = k;
test = v.tests[statement];
Ox.Break();
return false; // break
}
});
Ox.test.data[id].results.push(Ox.extend(test, {