You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/08/24 23:57:38 UTC

[14/50] [abbrv] js commit: Grammar: exceeds

Grammar: exceeds


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

Branch: refs/heads/master
Commit: f9b2fbc20b4d414a906a0e8287ed3bb2624921a4
Parents: 6ed01b9
Author: Josh Soref <js...@rim.com>
Authored: Tue Aug 14 17:34:07 2012 -0400
Committer: Anis Kadri <an...@gmail.com>
Committed: Fri Aug 24 13:50:03 2012 -0700

----------------------------------------------------------------------
 lib/common/plugin/geolocation.js |    2 +-
 test/test.geolocation.js         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/f9b2fbc2/lib/common/plugin/geolocation.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/geolocation.js b/lib/common/plugin/geolocation.js
index cab311c..050df62 100644
--- a/lib/common/plugin/geolocation.js
+++ b/lib/common/plugin/geolocation.js
@@ -104,7 +104,7 @@ var geolocation = {
         } else if (options.timeout === 0) {
             fail({
                 code:PositionError.TIMEOUT,
-                message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceed's provided PositionOptions' maximumAge parameter."
+                message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceeds provided PositionOptions' maximumAge parameter."
             });
         // Otherwise we have to call into native to retrieve a position.
         } else {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/f9b2fbc2/test/test.geolocation.js
----------------------------------------------------------------------
diff --git a/test/test.geolocation.js b/test/test.geolocation.js
index 97f68a0..3eae38f 100644
--- a/test/test.geolocation.js
+++ b/test/test.geolocation.js
@@ -33,7 +33,7 @@ describe("geolocation", function () {
                 geo.getCurrentPosition(s, e, {timeout: -1000});
                 expect(e).toHaveBeenCalledWith({
                     code:PositionError.TIMEOUT,
-                    message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceed's provided PositionOptions' maximumAge parameter."
+                    message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceeds provided PositionOptions' maximumAge parameter."
                 });
             });
 
@@ -165,7 +165,7 @@ describe("geolocation", function () {
                 geo.watchPosition(s, e, {timeout: -1000});
                 expect(e).toHaveBeenCalledWith({
                     code:PositionError.TIMEOUT,
-                    message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceed's provided PositionOptions' maximumAge parameter."
+                    message:"timeout value in PositionOptions set to 0 and no cached Position object available, or cached Position object's age exceeds provided PositionOptions' maximumAge parameter."
                 });
             });