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 20:01:22 UTC
[1/3] git commit: CB-5459 slight change to the vibration
documentation for pattern due to merge issue
Repository: cordova-plugin-vibration
Updated Branches:
refs/heads/master d497660e2 -> d2f74247f
CB-5459 slight change to the vibration documentation for pattern due to merge issue
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/026975a6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/026975a6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/026975a6
Branch: refs/heads/master
Commit: 026975a696703eadf30ef11a18d60454b697962d
Parents: d497660
Author: Lisa Seacat DeLuca <ld...@us.ibm.com>
Authored: Thu Aug 7 13:43:03 2014 -0400
Committer: Lisa Seacat DeLuca <ld...@us.ibm.com>
Committed: Thu Aug 7 13:43:03 2014 -0400
----------------------------------------------------------------------
doc/index.md | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/026975a6/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 0cc9219..286b6f3 100755
--- a/doc/index.md
+++ b/doc/index.md
@@ -79,20 +79,9 @@ or
navigator.vibrate(8000); // will be truncated to 5000
###Vibrate with a pattern (Android and Windows only)
+Vibrates the device with a given pattern
- navigator.vibrate(3000); // 3000 is ignored
-
-####Windows and Blackberry Quirks
-
-- __time__: Max time is 5000ms (5s)
-
- navigator.vibrate(8000); // will be truncated to 5000
-
-###Vibrate with a pattern (Android only)
-
-Vibrates the device with a given pattern.
-
- navigator.vibrate(pattern)
+ navigator.vibrate(pattern); // 3000 is ignored
- __pattern__: Sequence of durations (in milliseconds) for which to turn on or off the vibrator. _(Array of Numbers)_
[3/3] git commit: missed merge, fixed now
Posted by ld...@apache.org.
missed merge, fixed now
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/d2f74247
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/d2f74247
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/d2f74247
Branch: refs/heads/master
Commit: d2f74247f431deab103720ddf4c3edf101a3789b
Parents: aff9179
Author: Lisa Seacat DeLuca <ld...@us.ibm.com>
Authored: Thu Aug 7 14:00:09 2014 -0400
Committer: Lisa Seacat DeLuca <ld...@us.ibm.com>
Committed: Thu Aug 7 14:00:09 2014 -0400
----------------------------------------------------------------------
www/vibration.js | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/d2f74247/www/vibration.js
----------------------------------------------------------------------
diff --git a/www/vibration.js b/www/vibration.js
index cd34fa9..75e097b 100755
--- a/www/vibration.js
+++ b/www/vibration.js
@@ -72,9 +72,6 @@ module.exports = {
//vibrate with a pattern
else if ((typeof param == 'object') && param.length > 1)
-
- //vibrate with a pattern
- else if ((typeof param == 'object') && param.length != 0)
{
var repeat = -1; //no repeat
exec(null, null, "Vibration", "vibrateWithPattern", [param, repeat]);
[2/3] git commit: removed duplicate messaging
Posted by ld...@apache.org.
removed duplicate messaging
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/aff9179f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/aff9179f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/aff9179f
Branch: refs/heads/master
Commit: aff9179f800d6f6d65900d64846558996a965544
Parents: 026975a
Author: Lisa Seacat DeLuca <ld...@us.ibm.com>
Authored: Thu Aug 7 13:49:16 2014 -0400
Committer: Lisa Seacat DeLuca <ld...@us.ibm.com>
Committed: Thu Aug 7 13:49:16 2014 -0400
----------------------------------------------------------------------
doc/index.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/aff9179f/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 286b6f3..57b4a0b 100755
--- a/doc/index.md
+++ b/doc/index.md
@@ -81,7 +81,7 @@ or
###Vibrate with a pattern (Android and Windows only)
Vibrates the device with a given pattern
- navigator.vibrate(pattern); // 3000 is ignored
+ navigator.vibrate(pattern);
- __pattern__: Sequence of durations (in milliseconds) for which to turn on or off the vibrator. _(Array of Numbers)_
@@ -110,8 +110,6 @@ or
Passing in a parameter of 0, an empty array, or an array with one element of value 0 will cancel any vibrations.
-Passing in a parameter of 0 or an empty array will cancel any vibrations.
-
## *notification.vibrate (deprecated)
Vibrates the device for a given amount of time.