cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [12/15] cordova-plugin-vibration git commit: CB-12695: fix jshint / double-varing
Date Thu, 27 Apr 2017 20:13:10 GMT
CB-12695: fix jshint / double-varing


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/168204b2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/168204b2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/168204b2

Branch: refs/heads/2.1.x
Commit: 168204b2eb9e91eb8beb08b560cc87c048ab1a74
Parents: 4fc2aff
Author: filmaj <maj.fil@gmail.com>
Authored: Mon Apr 24 16:52:35 2017 -0700
Committer: filmaj <maj.fil@gmail.com>
Committed: Mon Apr 24 16:57:07 2017 -0700

----------------------------------------------------------------------
 www/vibration.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/168204b2/www/vibration.js
----------------------------------------------------------------------
diff --git a/www/vibration.js b/www/vibration.js
index d663dc7..409be0b 100644
--- a/www/vibration.js
+++ b/www/vibration.js
@@ -108,7 +108,7 @@ module.exports = {
      */
     vibrateWithPattern: function(pattern, repeat) {
         repeat = (typeof repeat !== "undefined") ? repeat : -1;
-        var pattern = pattern.unshift(0); //add a 0 at beginning for backwards compatibility
from w3c spec
+        pattern = pattern.unshift(0); //add a 0 at beginning for backwards compatibility
from w3c spec
         exec(null, null, "Vibration", "vibrateWithPattern", [pattern, repeat]);
     },
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message