1
0
Fork 0
forked from 0x2620/oxjs

trailing comma removal,

This commit is contained in:
j 2012-05-26 15:48:19 +00:00
commit 68d50978ba
44 changed files with 87 additions and 87 deletions

View file

@ -133,7 +133,7 @@ Ox.Chart = function(options, self) {
format: self.options.formatKey,
id: 'key',
width: self.options.keyWidth,
visible: true,
visible: true
},
{
format: renderValue,

View file

@ -47,7 +47,7 @@ Ox.IconItem = function(options, self) {
infoIsObject: Ox.isObject(self.options.info),
lineLength: self.options.itemWidth == 64 ? 15 : 23,
lines: self.options.itemWidth == 64 ? 4 : 5,
url: Ox.UI.PATH + 'png/transparent.png',
url: Ox.UI.PATH + 'png/transparent.png'
});
self.title = formatText(self.options.title, self.lines - 1 - self.infoIsObject, self.lineLength);

View file

@ -112,7 +112,7 @@ Ox.IconList = function(options, self) {
imageHeight: data.height,
imageWidth: data.width,
itemHeight: self.itemHeight,
itemWidth: self.itemWidth,
itemWidth: self.itemWidth
//height: Math.round(self.options.size / (ratio <= 1 ? 1 : ratio)),
//size: self.options.size,
//width: Math.round(self.options.size * (ratio >= 1 ? 1 : ratio))

View file

@ -80,7 +80,7 @@ Ox.InfoList = function(options, self) {
float: 'left',
width: '132px',
height: '192px',
margin: '4px 2px 4px 2px',
margin: '4px 2px 4px 2px'
//background: 'blue'
})
.append(
@ -102,7 +102,7 @@ Ox.InfoList = function(options, self) {
.css({
float: 'left',
width: getItemWidth() - 144 + 'px',
height: 196 + 'px',
height: 196 + 'px'
//background: 'green'
}),
$infobox = Ox.Element()
@ -118,8 +118,8 @@ Ox.InfoList = function(options, self) {
.css({
width: getItemWidth() - 8 + 'px',
height: 196 + 'px',
margin: '4px',
//background: 'red'
margin: '4px'
//, background: 'red'
})
.append($icon)
.append($info);

View file

@ -458,7 +458,7 @@ Ox.List = function(options, self) {
if (self.listLength < visibleItems) {
Ox.range(self.listLength, visibleItems).forEach(function(i) {
var $item = Ox.ListItem({
construct: self.options.construct,
construct: self.options.construct
});
$item.addClass('OxEmpty').removeClass('OxTarget');
if (i == visibleItems - 1) {
@ -894,7 +894,7 @@ Ox.List = function(options, self) {
self.$items[self.drag.pos]
.addClass('OxDrag')
.css({
cursor: 'move',
cursor: 'move'
});
}
@ -917,7 +917,7 @@ Ox.List = function(options, self) {
var $item = self.$items[self.drag.pos];
$item.removeClass('OxDrag')
.css({
cursor: 'default',
cursor: 'default'
});
that.triggerEvent('move', {
//id: id,

View file

@ -872,7 +872,7 @@ Ox.TextList = function(options, self) {
mousedown: function(e) {
// keep mousedown from reaching list
e.stopPropagation();
},
}
})
.bindEvent({
blur: submit,

View file

@ -80,7 +80,7 @@ Ox.TreeList = function(options, self) {
$('<div>')
.addClass('OxCell OxTarget')
.css({
width: padding + 'px',
width: padding + 'px'
})
.appendTo($item);
}
@ -88,7 +88,7 @@ Ox.TreeList = function(options, self) {
$('<div>')
.addClass('OxCell')
.css({
width: '8px',
width: '8px'
})
.append(
// fixme: need Ox.Icon()