forked from 0x2620/oxjs
Ox.break -> Ox.Break
This commit is contained in:
parent
b7d9d9ba54
commit
544e117cb3
41 changed files with 100 additions and 100 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue