1
0
Fork 0
forked from 0x2620/oxjs

Ox.break -> Ox.Break

This commit is contained in:
rolux 2012-05-24 19:20:29 +02:00
commit 544e117cb3
41 changed files with 100 additions and 100 deletions

View file

@ -702,7 +702,7 @@ Ox.Calendar = function(options, self) {
Ox.forEach(self.options.events, function(v) {
if (v.id == id) {
event = v;
Ox.break();
Ox.Break()();
}
});
return event;
@ -777,7 +777,7 @@ Ox.Calendar = function(options, self) {
Ox.forEach(self.lineEvents, function(events, line_) {
if (Ox.getIndexById(events, id) > -1) {
line = line_;
Ox.break();
Ox.Break()();
}
});
return line;
@ -817,12 +817,12 @@ Ox.Calendar = function(options, self) {
// if overlaps, check next line
if (overlaps(event, event_)) {
fits = false;
Ox.break();
Ox.Break()();
}
});
if (fits) {
line = line_;
Ox.break();
Ox.Break()();
}
});
if (line == self.lineEvents.length) {
@ -920,7 +920,7 @@ Ox.Calendar = function(options, self) {
var width = Math.round(v.seconds * pixelsPerSecond);
if (width >= self.minLabelWidth) {
units = [self.units[i], self.units[i - 1]];
Ox.break();
Ox.Break()();
}
});
self.units.reverse();

View file

@ -48,7 +48,7 @@ Ox.ListCalendar = function(options, self) {
if (eventDuration > duration) {
iconSize = size;
} else {
Ox.break();
Ox.Break()();
}
});
return data.type
@ -391,10 +391,10 @@ Ox.ListCalendar = function(options, self) {
)
) {
exists = value;
Ox.break();
Ox.Break()();
}
});
exists && Ox.break();
exists && Ox.Break()();
});
}
if (data.id == 'name') {
@ -689,7 +689,7 @@ Ox.ListCalendar = function(options, self) {
|| event.alternativeNames.indexOf(name) > -1
) {
exists = true;
Ox.break();
Ox.Break()();
}
});
return exists;