incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [14/50] [abbrv] js commit: Grammar: exceeds
Date Fri, 24 Aug 2012 21:57:38 GMT
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 <jsoref@rim.com>
Authored: Tue Aug 14 17:34:07 2012 -0400
Committer: Anis Kadri <anis.kadri@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."
                 });
             });
 


Mime
View raw message