1
0
Fork 0
forked from 0x2620/oxjs

Ox -> Ox.UI

This commit is contained in:
rlx 2014-09-26 14:18:11 +02:00
commit e2a42ab04e
12 changed files with 47 additions and 47 deletions

View file

@ -18,7 +18,7 @@ Ox.Bar = function(options, self) {
.options(options || {})
.addClass('OxBar Ox' + Ox.toTitleCase(self.options.orientation));
self.dimensions = Ox.DIMENSIONS[self.options.orientation];
self.dimensions = Ox.UI.DIMENSIONS[self.options.orientation];
that.css(self.dimensions[0], '100%')
.css(self.dimensions[1], self.options.size + 'px');

View file

@ -66,8 +66,8 @@ Ox.Resizebar = function(options, self) {
self.clientXY = self.options.orientation == 'horizontal'
? 'clientY' : 'clientX';
self.dimensions = Ox.DIMENSIONS[self.options.orientation];
self.edges = Ox.EDGES[self.options.orientation];
self.dimensions = Ox.UI.DIMENSIONS[self.options.orientation];
self.edges = Ox.UI.EDGES[self.options.orientation];
self.isLeftOrTop = self.options.edge == 'left' || self.options.edge == 'top';
that.css({cursor: getCursor()});