Repository: cordova-plugin-vibration
Updated Branches:
  refs/heads/jshint-fix 15dc7eab7 -> 168204b2e (forced update)


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/jshint-fix
Commit: 168204b2eb9e91eb8beb08b560cc87c048ab1a74
Parents: 4fc2aff
Author: filmaj <[email protected]>
Authored: Mon Apr 24 16:52:35 2017 -0700
Committer: filmaj <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to