From 4ae38b6eb80f147b550fa2d4e1df8b8e7a82538b Mon Sep 17 00:00:00 2001 From: Vadim Namniak Date: Sat, 19 Sep 2015 22:54:46 -0400 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e99f602..a7d9352 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ NOTE: if a single word is too long to fit the width with specified font size, it ##Usage Configure context settings properties such as "fillStyle", "lineWidth" or "strokeStyle" before using CanvasTextWrapper like so: ``` +var CanvasTextWrapper = require('canvas-text-wrapper').CanvasTextWrapper; + var canvas = document.getElementById("#canvasText"); canvas.width = 200; canvas.height = 200;