minor reformatting
This commit is contained in:
parent
42e231f95c
commit
3b3fd6baf0
1 changed files with 6 additions and 2 deletions
|
@ -403,13 +403,17 @@ Ox.load('UI', function() {
|
||||||
.attr({id: 'regions'})
|
.attr({id: 'regions'})
|
||||||
.appendTo(self.$world);
|
.appendTo(self.$world);
|
||||||
|
|
||||||
['center', 'left', 'right', 'top', 'bottom'].forEach(function(region) {
|
[
|
||||||
|
'center', 'left', 'right', 'top', 'bottom'
|
||||||
|
].forEach(function(region) {
|
||||||
self['$' + region] = Ox.Element()
|
self['$' + region] = Ox.Element()
|
||||||
.addClass('region')
|
.addClass('region')
|
||||||
.attr({id: region})
|
.attr({id: region})
|
||||||
.appendTo(self.$regions);
|
.appendTo(self.$regions);
|
||||||
});
|
});
|
||||||
['topleft', 'topright', 'bottomleft', 'bottomright', 'square'].forEach(function(region) {
|
[
|
||||||
|
'topleft', 'topright', 'bottomleft', 'bottomright', 'square'
|
||||||
|
].forEach(function(region) {
|
||||||
self['$' + region] = Ox.Element()
|
self['$' + region] = Ox.Element()
|
||||||
.addClass('region ui')
|
.addClass('region ui')
|
||||||
.appendTo(self.$regions);
|
.appendTo(self.$regions);
|
||||||
|
|
Loading…
Reference in a new issue