From 05ebb74fafef59b813c2bef7b731f7a36a3c5f38 Mon Sep 17 00:00:00 2001 From: Marius Ghita Date: Sun, 12 Jan 2014 08:05:34 +0200 Subject: [PATCH] Update README.md `grande.init()` no longer seems to be an existing function. As such change the README to a working example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df7c5ac..b5d9a39 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ To get up and running simply... 1. Include an `
` with `contenteditable` 2. Include the `grande.min.js` file (in `dist/` directory) at the bottom of your `` -3. Bind the events on the `document` with `grande.init()` +3. Bind the events on the `article` tags with `grande.bind(document.querySelectorAll("article"))` 4. You are set! ### Included files