incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [2/23] js commit: Grammar: exceeds
Date Fri, 24 Aug 2012 01:10:41 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/c1c6a4ed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/c1c6a4ed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/c1c6a4ed

Branch: refs/heads/master
Commit: c1c6a4ed056dd58758d7ea655dd36bc2facb87d8
Parents: 9d749a8
Author: Josh Soref <jsoref@rim.com>
Authored: Tue Aug 14 17:34:07 2012 -0400
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Thu Aug 23 17:56:45 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/c1c6a4ed/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/c1c6a4ed/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