You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2013/07/09 16:31:41 UTC

[2/2] git commit: [CB-3631] Fix native module name in JS

[CB-3631] Fix native module name in JS


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

Branch: refs/heads/master
Commit: e8b301b27658823593fe71ad2084cbadfe7e12e3
Parents: 4bb048d
Author: Ian Clelland <ic...@chromium.org>
Authored: Tue Jul 9 10:30:57 2013 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Tue Jul 9 10:31:08 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/e8b301b2/www/vibration.js
----------------------------------------------------------------------
diff --git a/www/vibration.js b/www/vibration.js
index d55d76b..62ef521 100644
--- a/www/vibration.js
+++ b/www/vibration.js
@@ -33,6 +33,6 @@ module.exports = {
      * @param {Integer} mills       The number of milliseconds to vibrate for.
      */
     vibrate: function(mills) {
-        exec(null, null, "Notification", "vibrate", [mills]);
+        exec(null, null, "Vibration", "vibrate", [mills]);
     },
 };