From 845496dc98b0c4608fd4fd88f1a97b00c6c67b78 Mon Sep 17 00:00:00 2001 From: Dmitry Kuzmenkov Date: Thu, 7 Jan 2016 00:05:22 +0700 Subject: [PATCH] Add more info to readme --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b1705f..a5ede78 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Bind new listener to all elements. - *event* - javascript event to catch (click, keyup and etc) - *selector* - valid document query selector - *callback* - function to callback. Arguments: event, element + You can return false from callback to preventDefault and stop next handler searching. - *use_capture* - use capture or not, default false ### off(event, selector) diff --git a/package.json b/package.json index 0216d34..5de3bc1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "domd", "description": "Small dependency free DOM delegator", "keywords": ["DOM", "delegate", "event", "handle", "domd"], - "version": "0.7.0", + "version": "0.7.1", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"