You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/08/10 16:45:12 UTC

[cordova-labs] branch cordova-firefoxos updated: Fix spelling errors (#5)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch cordova-firefoxos
in repository https://gitbox.apache.org/repos/asf/cordova-labs.git


The following commit(s) were added to refs/heads/cordova-firefoxos by this push:
     new 99028ba  Fix spelling errors (#5)
99028ba is described below

commit 99028ba977bc07c93baced63b969719714a55ad6
Author: Josh Soref <js...@users.noreply.github.com>
AuthorDate: Fri Aug 10 12:45:10 2018 -0400

    Fix spelling errors (#5)
---
 README.md                |  4 ++--
 framework/js/index.js    |  2 +-
 lib/cordova.firefoxos.js | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index f635817..8ae92ca 100644
--- a/README.md
+++ b/README.md
@@ -9,12 +9,12 @@ Firefox OS is an open source operating system for smartphones and tablet compute
 cordova-firefoxos allows developers to use the cross platform APIs in Cordova to target the Firefox OS. Most APIs are just proxied to the matching Firefox OS API calls.
 
 
-Prerequisties:
+Prerequisites:
 ==============
 
 A lot of good documentation is available on the [Mozilla Developer Network](https://developer.mozilla.org/en/docs/Mozilla/Firefox_OS)
 
-A simulator (runs as a Firefox plugin) is availble [here](http://people.mozilla.org/~myk/r2d2b2g/)
+A simulator (runs as a Firefox plugin) is available [here](http://people.mozilla.org/~myk/r2d2b2g/)
 
 The following software is required to package and deploy an app directly to a Firefox OS device:
 -[Android SDK](http://developer.android.com/sdk/index.html)
diff --git a/framework/js/index.js b/framework/js/index.js
index 31d9064..87b5660 100644
--- a/framework/js/index.js
+++ b/framework/js/index.js
@@ -31,7 +31,7 @@ var app = {
     // deviceready Event Handler
     //
     // The scope of 'this' is the event. In order to call the 'receivedEvent'
-    // function, we must explicity call 'app.receivedEvent(...);'
+    // function, we must explicitly call 'app.receivedEvent(...);'
     onDeviceReady: function() {
         app.receivedEvent('deviceready');
     },
diff --git a/lib/cordova.firefoxos.js b/lib/cordova.firefoxos.js
index e28d36a..9fb3e4d 100644
--- a/lib/cordova.firefoxos.js
+++ b/lib/cordova.firefoxos.js
@@ -350,7 +350,7 @@ function checkArgs(spec, functionName, args, opt_callee) {
         var c = spec.charAt(i),
             cUpper = c.toUpperCase(),
             arg = args[i];
-        // Asterix means allow anything.
+        // Asterisk means allow anything.
         if (c == '*') {
             continue;
         }
@@ -951,7 +951,7 @@ define("cordova/exec", function(require, exports, module) {
  * Execute a cordova command.  It is up to the native side whether this action
  * is synchronous or asynchronous.  The native side can return:
  *      Synchronous: PluginResult object as a JSON string
- *      Asynchrounous: Empty string ""
+ *      Asynchronous: Empty string ""
  * If async, the native side will cordova.callbackSuccess or cordova.callbackError,
  * depending upon the result of the action.
  *
@@ -1173,7 +1173,7 @@ module.exports = {
   DestinationType:{
     DATA_URL: 0,         // Return base64 encoded string
     FILE_URI: 1,         // Return file uri (content://media/external/images/media/2 for Android)
-    NATIVE_URI: 2        // Return native uri (eg. asset-library://... for iOS)
+    NATIVE_URI: 2        // Return native uri (e.g. asset-library://... for iOS)
   },
   EncodingType:{
     JPEG: 0,             // Return JPEG encoded image
@@ -4599,7 +4599,7 @@ getLocaleName:function(successCB, failureCB) {
 * successCB callback with a properties object as a parameter. If there is an error
 * formatting the date, then the errorCB callback is invoked.
 *
-* The defaults are: formatLenght="short" and selector="date and time"
+* The defaults are: formatLength="short" and selector="date and time"
 *
 * @param {Date} date
 * @param {Function} successCB
@@ -5152,7 +5152,7 @@ var exec = require('cordova/exec'),
     utils = require('cordova/utils');
 
 // Link the onLine property with the Cordova-supplied network info.
-// This works because we clobber the naviagtor object with our own
+// This works because we clobber the navigator object with our own
 // object in bootstrap.js.
 if (typeof navigator != 'undefined') {
     utils.defineGetter(navigator, 'onLine', function() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org