minor changes

This commit is contained in:
rolux 2012-06-26 17:59:26 +02:00
parent 4bc846741a
commit 082b0996dd

View file

@ -600,7 +600,7 @@ Ox.load(['Image', 'UI'], function() {
Since `Ox.My.Box` is a good multi-purpose container, we create one to Since `Ox.My.Box` is a good multi-purpose container, we create one to
contain the first four boxes. contain the first four boxes.
*/ */
My.$container = Ox.My.Box({ Ox.My.Box({
size: [256, 256] size: [256, 256]
}) })
.append( .append(
@ -632,7 +632,7 @@ Ox.load(['Image', 'UI'], function() {
.appendTo(Ox.$body); .appendTo(Ox.$body);
/* /*
As a last step, we add a handler to the `invert` event of each widgets. It As a last step, we add a handler to the `invert` event of each widgets. It
will display the widget's name and options inside the `Ox.My.Box`. will display the widget's name and options inside the first box.
*/ */
Ox.forEach(My, function($box, name) { Ox.forEach(My, function($box, name) {
$box.bindEvent({ $box.bindEvent({