remove some logging

This commit is contained in:
rlx 2011-11-05 22:38:00 +00:00
parent a24d139f9b
commit da7e0b73e0

View file

@ -414,7 +414,6 @@ Ox.List = function(options, self) {
} }
function emptyFirstPage() { function emptyFirstPage() {
Ox.Log('!', 'EMPTY')
if (self.$pages[0]) { if (self.$pages[0]) {
if (self.options.type == 'text') { if (self.options.type == 'text') {
self.$pages[0].$element.find('.OxEmpty').remove(); self.$pages[0].$element.find('.OxEmpty').remove();
@ -430,7 +429,6 @@ 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.Log('!', 'FILL', self.listLength, visibleItems);
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({