You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ld...@apache.org on 2014/08/07 18:58:49 UTC

[09/12] git commit: update doc with another way to cancel vibration

update doc with another way to cancel vibration


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/816f97bd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/816f97bd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/816f97bd

Branch: refs/heads/master
Commit: 816f97bd64e40b756e84e26cdef2d7400fc75d31
Parents: 47cfb72
Author: Edna Morales <ed...@ednas-mbp-2.raleigh.ibm.com>
Authored: Tue Aug 5 11:19:36 2014 -0400
Committer: Edna Morales <ed...@ednas-mbp-2.raleigh.ibm.com>
Committed: Tue Aug 5 11:19:36 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/816f97bd/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 4535063..15e3c9c 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -102,7 +102,11 @@ or
 
     navigator.vibrate([])
 
-Passing in a parameter of 0 or an empty array will cancel any vibrations.
+or
+
+    navigator.vibrate([0])
+
+Passing in a parameter of 0, an empty array, or an array with one element of value 0 will cancel any vibrations.
 
 ## *notification.vibrate (deprecated)