minor reformatting

This commit is contained in:
rolux 2012-06-23 00:28:54 +02:00
parent 42e231f95c
commit 3b3fd6baf0

View file

@ -403,13 +403,17 @@ Ox.load('UI', function() {
.attr({id: 'regions'})
.appendTo(self.$world);
['center', 'left', 'right', 'top', 'bottom'].forEach(function(region) {
[
'center', 'left', 'right', 'top', 'bottom'
].forEach(function(region) {
self['$' + region] = Ox.Element()
.addClass('region')
.attr({id: region})
.appendTo(self.$regions);
});
['topleft', 'topright', 'bottomleft', 'bottomright', 'square'].forEach(function(region) {
[
'topleft', 'topright', 'bottomleft', 'bottomright', 'square'
].forEach(function(region) {
self['$' + region] = Ox.Element()
.addClass('region ui')
.appendTo(self.$regions);