From d88729675ac69e28ac17508117db98eb0fe19b92 Mon Sep 17 00:00:00 2001 From: walterhiggins Date: Fri, 8 Feb 2013 21:26:55 +0000 Subject: [PATCH] fix comment - boxa example --- docs/api.md | 3 +++ src/main/javascript/drone/drone.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/api.md b/docs/api.md index 7e27dff..56af35e 100644 --- a/docs/api.md +++ b/docs/api.md @@ -205,9 +205,11 @@ Parameters Example ------- Construct a rainbow-colored road 100 blocks long... + var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime, blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple]; boxa(rainbowColors,7,1,100); + Drone.prism() method ==================== Creates a prism. This is useful for roofs on houses. @@ -330,6 +332,7 @@ Parameters Example ------- + drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool'); Drone.paste() method diff --git a/src/main/javascript/drone/drone.js b/src/main/javascript/drone/drone.js index 78ceaac..977d8c6 100644 --- a/src/main/javascript/drone/drone.js +++ b/src/main/javascript/drone/drone.js @@ -230,9 +230,11 @@ Parameters Example ------- Construct a rainbow-colored road 100 blocks long... + var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime, blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple]; boxa(rainbowColors,7,1,100); + ***/ Drone.prototype.box0 = function(block,width,height,length){}; Drone.prototype.boxa = function(/* [string] */ width, height, length){}; @@ -386,6 +388,7 @@ Parameters Example ------- + drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool'); Drone.paste() method