From 56541cbd0feb8e09fb1ff952a8570a1f6cee7cce Mon Sep 17 00:00:00 2001 From: Preet Date: Thu, 12 Jan 2017 23:18:53 -0800 Subject: [PATCH] Update README.md --- docs/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/README.md b/docs/README.md index 844d4ad..0902169 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,11 +13,7 @@ The latest Rough.js release (beta version 0.1): [Download](./rough.zip) ## How to use Rough.js ### Setup Initialize a **RoughCanvas** object by passing in the canvas node and the size of the canvas. -Following code snippet draws a rectangle. -```html - - -``` +Following code snippet draws a ```javascript var rough = new RoughCanvas(document.getElementById('myCanvas'), 500, 500); rough.rectangle(10, 10, 200, 200);