incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [8/10] webos commit: Added mapping for compassAPI
Date Fri, 23 Mar 2012 22:21:49 GMT
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 <mleut@yahoo.com>
Authored: Wed Mar 14 14:40:56 2012 +0100
Committer: ghtomcat <mleut@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;


Mime
View raw message