You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/05/18 00:09:57 UTC
git commit: updated plugin.xml and postion.js
Updated Branches:
refs/heads/master edce813c1 -> a35b834e4
updated plugin.xml and postion.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/a35b834e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/a35b834e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/a35b834e
Branch: refs/heads/master
Commit: a35b834e4a11b991e6c06efe8fa604fd892c862d
Parents: edce813
Author: Steven Gill <st...@gmail.com>
Authored: Fri May 17 15:09:53 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Fri May 17 15:09:53 2013 -0700
----------------------------------------------------------------------
plugin.xml | 8 +++++++-
www/Position.js | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/a35b834e/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 2cc97c4..36d3fb9 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -7,6 +7,10 @@ id="org.apache.cordova.core.GeoBroker"
<name>Geolocation</name>
+ <js-module src="www/Coordinates.js" name="Coordinates">
+ <clobbers target="Coordinates" />
+ </js-module>
+
<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>
@@ -18,7 +22,9 @@ id="org.apache.cordova.core.GeoBroker"
<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>
-
+
+
+
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/a35b834e/www/Position.js
----------------------------------------------------------------------
diff --git a/www/Position.js b/www/Position.js
index dec18f6..cbddf2e 100644
--- a/www/Position.js
+++ b/www/Position.js
@@ -19,7 +19,7 @@
*
*/
-var Coordinates = require('org.apache.cordova.core.GeoBroker.PositionError.Coordinates');
+var Coordinates = require('org.apache.cordova.core.GeoBroker.Coordinates');
var Position = function(coords, timestamp) {
if (coords) {