CB-12695: fix jshint / double-varing
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 @@
      */
     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]);
     },