From 3e5497c4fd8ba8563c1b2b0608fcf528f4ae780f Mon Sep 17 00:00:00 2001 From: Arsalan Ahmad Date: Tue, 10 Jun 2014 14:52:06 +0500 Subject: [PATCH] Updated the 'enable' function call wScratchPad('enabled', ); does not work as stated in the readme. The correct function name is 'enable' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ddf1519..75e2ec4 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ $("#elem").wScratchPad('image', './images/winner.png'); ```js $('#elem').wScratchPad('reset'); $('#elem').wScratchPad('clear'); -$('#elem').wScratchPad('enabled', ); +$('#elem').wScratchPad('enable', ); ``` @@ -85,4 +85,4 @@ $('#elem').wScratchPad('enabled', ); MIT licensed -Copyright (C) 2011-2012 Websanova http://www.websanova.com \ No newline at end of file +Copyright (C) 2011-2012 Websanova http://www.websanova.com