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
|
|
@ -138,7 +138,7 @@ Ox.Dialog = function(options, self) {
|
|||
},
|
||||
dragstart: dragstart,
|
||||
drag: drag,
|
||||
dragend: dragend,
|
||||
dragend: dragend
|
||||
});
|
||||
self.hasButtons && self.$buttonsbar.css({
|
||||
cursor: 'move'
|
||||
|
|
@ -362,7 +362,7 @@ Ox.Dialog = function(options, self) {
|
|||
left: self.drag.left + (
|
||||
self.drag.width - self.options.width
|
||||
) / (self.drag.fixedCenter ? 2 : 1),
|
||||
width: self.options.width,
|
||||
width: self.options.width
|
||||
}, self.drag.fixedRatio ? {
|
||||
top: Math.max(Math.round(
|
||||
self.drag.edge == 'topleft'
|
||||
|
|
@ -394,7 +394,7 @@ Ox.Dialog = function(options, self) {
|
|||
top: Math.max(self.drag.top + (
|
||||
self.drag.height - self.options.height
|
||||
) / (self.drag.fixedCenter ? 2 : 1), self.minTop),
|
||||
height: self.options.height,
|
||||
height: self.options.height
|
||||
}, (self.drag.fixedRatio) ? {
|
||||
left: Math.round(
|
||||
self.drag.edge == 'topleft'
|
||||
|
|
@ -423,7 +423,7 @@ Ox.Dialog = function(options, self) {
|
|||
self.options.width = Math.round(self.options.height * ratio);
|
||||
}
|
||||
setCSS(Ox.extend({
|
||||
width: self.options.width,
|
||||
width: self.options.width
|
||||
}, self.drag.fixedCenter ? {
|
||||
left: self.drag.left + (
|
||||
self.drag.width - self.options.width
|
||||
|
|
@ -456,7 +456,7 @@ Ox.Dialog = function(options, self) {
|
|||
self.options.height = Math.round(self.options.width / ratio);
|
||||
}
|
||||
setCSS(Ox.extend({
|
||||
height: self.options.height,
|
||||
height: self.options.height
|
||||
}, self.drag.fixedCenter ? {
|
||||
top: Math.max(self.drag.top + (
|
||||
self.drag.height - self.options.height
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue