You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2012/03/23 23:21:49 UTC

[8/10] webos commit: Added mapping for compassAPI

Added mapping for compassAPI

Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/commit/7fd75ab9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/tree/7fd75ab9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/diff/7fd75ab9

Branch: refs/heads/master
Commit: 7fd75ab99edda265bc524082c23ff5a6b54d3f88
Parents: c208208
Author: ghtomcat <ml...@yahoo.com>
Authored: Wed Mar 14 14:40:56 2012 +0100
Committer: ghtomcat <ml...@yahoo.com>
Committed: Wed Mar 14 14:40:56 2012 +0100

----------------------------------------------------------------------
 js/phonegap-core.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-webos/blob/7fd75ab9/js/phonegap-core.js
----------------------------------------------------------------------
diff --git a/js/phonegap-core.js b/js/phonegap-core.js
index 2f660f1..5efb6bf 100644
--- a/js/phonegap-core.js
+++ b/js/phonegap-core.js
@@ -395,6 +395,7 @@ PhoneGap.plugins = {};
 PhoneGap.plugins['navigator.accelerometer'] = accelerometerAPI;
 PhoneGap.plugins['navigator.application'] = applicationAPI;
 PhoneGap.plugins['navigator.camera'] = cameraAPI;
+PhoneGap.plugins['navigator.compass'] = compassAPI;
 PhoneGap.plugins['window.debug'] = debugAPI;
 PhoneGap.plugins['navigator.device'] = deviceAPI;
 PhoneGap.plugins['navigator.geolocation'] = geolocationAPI;