Both functions return this. They can now be chained.

This commit is contained in:
Chris Ruppel 2013-01-27 14:16:37 -06:00
parent e7f4a5c99b
commit 284c2da586

View file

@ -178,6 +178,8 @@ Drone.extend('logojs', function(fg, bg) {
.box(fg);
this.move('logojs-start')
return this;
});
//
// Makes a cube of JS logos!
@ -211,4 +213,6 @@ Drone.extend('logojscube', function(fg, bg) {
.right(100)
.turn(3)
.logojs(fg, bg);
return this;
});