forked from 0x2620/oxjs
trailing comma removal,
This commit is contained in:
parent
61e05f4f86
commit
68d50978ba
44 changed files with 87 additions and 87 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -872,7 +872,7 @@ Ox.TextList = function(options, self) {
|
|||
mousedown: function(e) {
|
||||
// keep mousedown from reaching list
|
||||
e.stopPropagation();
|
||||
},
|
||||
}
|
||||
})
|
||||
.bindEvent({
|
||||
blur: submit,
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue