disable some debug output

This commit is contained in:
j 2012-01-31 12:07:31 +00:00
parent 9568acd592
commit d10deb81aa
2 changed files with 4 additions and 2 deletions

View file

@ -439,7 +439,7 @@ Ox.List = function(options, self) {
var height = getHeight(), var height = getHeight(),
lastItemHeight = height % self.options.itemHeight || self.options.itemHeight, lastItemHeight = height % self.options.itemHeight || self.options.itemHeight,
visibleItems = Math.ceil(height / self.options.itemHeight); visibleItems = Math.ceil(height / self.options.itemHeight);
Ox.print('FFP!!!', height) //Ox.print('FFP!!!', height)
if (self.listLength < visibleItems) { if (self.listLength < visibleItems) {
Ox.range(self.listLength, visibleItems).forEach(function(i) { Ox.range(self.listLength, visibleItems).forEach(function(i) {
var $item = Ox.ListItem({ var $item = Ox.ListItem({

View file

@ -769,7 +769,7 @@ Ox.VideoEditor = function(options, self) {
} : null; } : null;
}); });
}))); })));
Ox.print('RESULTS:', results) //Ox.print('RESULTS:', results)
/* /*
results = Ox.map(self.options.subtitles, function(subtitle) { results = Ox.map(self.options.subtitles, function(subtitle) {
return subtitle.text.toLowerCase().indexOf(query) > -1 ? { return subtitle.text.toLowerCase().indexOf(query) > -1 ? {
@ -1123,9 +1123,11 @@ Ox.VideoEditor = function(options, self) {
function submitAnnotation(data) { function submitAnnotation(data) {
self.editing = false; self.editing = false;
setTimelineState(); setTimelineState();
/*
Ox.print('....', self.options.annotationsRange == 'position', Ox.print('....', self.options.annotationsRange == 'position',
self.options.position < self.options['in'], self.options.position < self.options['in'],
self.options.position > self.options.out) self.options.position > self.options.out)
*/
if ( if (
self.options.annotationsRange == 'position' && ( self.options.annotationsRange == 'position' && (
self.options.position < self.options['in'] self.options.position < self.options['in']