You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/09/27 19:47:10 UTC

js commit: Various spelling fixes.

Updated Branches:
  refs/heads/master 0e58060f0 -> 620cb2813


Various spelling fixes.


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/620cb281
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/620cb281
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/620cb281

Branch: refs/heads/master
Commit: 620cb2813df2d899c459ed79e926aa6bcc5348ac
Parents: 0e58060
Author: Josh Soref <js...@rim.com>
Authored: Mon Sep 10 13:10:15 2012 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Sep 27 13:44:03 2012 -0400

----------------------------------------------------------------------
 lib/android/exec.js                           |    2 +-
 lib/android/plugin/android/device.js          |    2 +-
 lib/bada/plugin/bada/Accelerometer.js         |    4 ++--
 lib/bada/plugin/bada/Camera.js                |    4 ++--
 lib/bada/plugin/bada/Capture.js               |    4 ++--
 lib/common/builder.js                         |    2 +-
 lib/common/plugin/CompassError.js             |    2 +-
 lib/common/plugin/ContactError.js             |    2 +-
 lib/common/plugin/DirectoryEntry.js           |    4 ++--
 lib/common/plugin/FileReader.js               |    2 +-
 lib/common/plugin/accelerometer.js            |    4 ++--
 lib/common/plugin/console-via-logger.js       |    4 ++--
 lib/common/plugin/echo.js                     |    2 +-
 lib/common/plugin/geolocation.js              |    2 +-
 lib/common/utils.js                           |    2 +-
 lib/cordova.js                                |    6 +++---
 lib/errgen/exec.js                            |    2 +-
 lib/scripts/bootstrap.js                      |    2 +-
 lib/tizen/plugin/tizen/BufferLoader.js        |    2 +-
 lib/tizen/plugin/tizen/ContactUtils.js        |    2 +-
 lib/tizen/plugin/tizen/SoundBeat.js           |    2 +-
 lib/webworks/air/plugin/air/FileReader.js     |    2 +-
 lib/webworks/air/plugin/air/capture.js        |    2 +-
 lib/webworks/java/plugin/java/ContactUtils.js |    2 +-
 lib/webworks/java/plugin/manager.js           |    6 +++---
 lib/windows8/plugin/windows8/CaptureProxy.js  |   10 +++++-----
 lib/windows8/plugin/windows8/MediaProxy.js    |    4 ++--
 test/test.builder.js                          |    4 ++--
 test/test.channel.js                          |    2 +-
 test/test.contacts.js                         |    2 +-
 30 files changed, 46 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index 9b36359..fd6cd3f 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -23,7 +23,7 @@
  * 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.
  *

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/android/plugin/android/device.js
----------------------------------------------------------------------
diff --git a/lib/android/plugin/android/device.js b/lib/android/plugin/android/device.js
index 4ce17c8..a6b7453 100644
--- a/lib/android/plugin/android/device.js
+++ b/lib/android/plugin/android/device.js
@@ -40,7 +40,7 @@ module.exports = {
      * DEPRECATED
      * This is only for Android.
      *
-     * This resets the back button to the default behaviour
+     * This resets the back button to the default behavior
      */
     resetBackButton:function() {
         console.log("Device.resetBackButton() is deprecated.  Use App.overrideBackbutton(false).");

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/bada/plugin/bada/Accelerometer.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Accelerometer.js b/lib/bada/plugin/bada/Accelerometer.js
index f2d91e6..0413ee0 100644
--- a/lib/bada/plugin/bada/Accelerometer.js
+++ b/lib/bada/plugin/bada/Accelerometer.js
@@ -24,12 +24,12 @@ var Acceleration = require('cordova/plugin/Acceleration');
 module.exports = {
     getCurrentAcceleration: function(successCallback, errorCallback, options) {
         var success = function(acceleration) {
-            console.log("Accelermometer:getAcceleration:success");
+            console.log("Accelerometer:getAcceleration:success");
             var accel = new Acceleration(acceleration.xAxis, acceleration.yAxis, acceleration.zAxis);
             successCallback(accel);
         };
         var error = function(err) {
-            console.log("Accelermometer:getAcceleration:error");
+            console.log("Accelerometer:getAcceleration:error");
             if (err.code == err.TYPE_MISMATCH_ERR) {
                 console.log("TYPE MISMATCH ERROR");
             }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/bada/plugin/bada/Camera.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Camera.js b/lib/bada/plugin/bada/Camera.js
index dee1894..a55d6d2 100644
--- a/lib/bada/plugin/bada/Camera.js
+++ b/lib/bada/plugin/bada/Camera.js
@@ -36,7 +36,7 @@ module.exports = {
                         success(resultList[1]);
                     }
                 } else {
-                    var error = {message: "An error occured while capturing image", code: 0};
+                    var error = {message: "An error occurred while capturing image", code: 0};
                     fail(error);
                 }
             });
@@ -50,7 +50,7 @@ module.exports = {
             previewObject.style.visibility = "visible";
         };
         var error = function(e) {
-            alert("An error occured: " + e.message);
+            alert("An error occurred: " + e.message);
         };
 
         var success = function(cams) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/bada/plugin/bada/Capture.js
----------------------------------------------------------------------
diff --git a/lib/bada/plugin/bada/Capture.js b/lib/bada/plugin/bada/Capture.js
index 1b87e64..c7cad83 100644
--- a/lib/bada/plugin/bada/Capture.js
+++ b/lib/bada/plugin/bada/Capture.js
@@ -56,7 +56,7 @@ module.exports = {
                     }
                     success(pluginResult);
                 } else {
-                    var error = {message: "An error occured while capturing image", code: 0};
+                    var error = {message: "An error occurred while capturing image", code: 0};
                     fail(error);
                 }
             });
@@ -81,7 +81,7 @@ module.exports = {
                     }
                     success(mediaFiles);
                 } else {
-                    var error = {message: "An error occured while capturing image", code: 0};
+                    var error = {message: "An error occurred while capturing image", code: 0};
                     fail(error);
                 }
             });

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/builder.js
----------------------------------------------------------------------
diff --git a/lib/common/builder.js b/lib/common/builder.js
index 13d1815..475ed29 100644
--- a/lib/common/builder.js
+++ b/lib/common/builder.js
@@ -106,7 +106,7 @@ function recursiveMerge(target, src) {
 module.exports = {
     build: function (objects) {
         return {
-            intoButDontClobber: function (target) {
+            intoButDoNotClobber: function (target) {
                 include(target, objects, false, false);
             },
             intoAndClobber: function(target) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/CompassError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/CompassError.js b/lib/common/plugin/CompassError.js
index 9d6b7a5..7b5b485 100644
--- a/lib/common/plugin/CompassError.js
+++ b/lib/common/plugin/CompassError.js
@@ -21,7 +21,7 @@
 
 /**
  *  CompassError.
- *  An error code assigned by an implementation when an error has occured
+ *  An error code assigned by an implementation when an error has occurred
  * @constructor
  */
 var CompassError = function(err) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/ContactError.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/ContactError.js b/lib/common/plugin/ContactError.js
index fcad4ab..01b229a 100644
--- a/lib/common/plugin/ContactError.js
+++ b/lib/common/plugin/ContactError.js
@@ -21,7 +21,7 @@
 
 /**
  *  ContactError.
- *  An error code assigned by an implementation when an error has occured
+ *  An error code assigned by an implementation when an error has occurred
  * @constructor
  */
 var ContactError = function(err) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/DirectoryEntry.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/DirectoryEntry.js b/lib/common/plugin/DirectoryEntry.js
index c87fa4a..8a7f97d 100644
--- a/lib/common/plugin/DirectoryEntry.js
+++ b/lib/common/plugin/DirectoryEntry.js
@@ -51,7 +51,7 @@ DirectoryEntry.prototype.createReader = function() {
  * Creates or looks up a directory
  *
  * @param {DOMString} path either a relative or absolute path from this directory in which to look up or create a directory
- * @param {Flags} options to create or excluively create the directory
+ * @param {Flags} options to create or exclusively create the directory
  * @param {Function} successCallback is called with the new entry
  * @param {Function} errorCallback is called with a FileError
  */
@@ -83,7 +83,7 @@ DirectoryEntry.prototype.removeRecursively = function(successCallback, errorCall
  * Creates or looks up a file
  *
  * @param {DOMString} path either a relative or absolute path from this directory in which to look up or create a file
- * @param {Flags} options to create or excluively create the file
+ * @param {Flags} options to create or exclusively create the file
  * @param {Function} successCallback is called with the new entry
  * @param {Function} errorCallback is called with a FileError
  */

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/FileReader.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/FileReader.js b/lib/common/plugin/FileReader.js
index 41e0e97..e27ba04 100644
--- a/lib/common/plugin/FileReader.js
+++ b/lib/common/plugin/FileReader.js
@@ -44,7 +44,7 @@ var FileReader = function() {
 
     // Event handlers
     this.onloadstart = null;    // When the read starts.
-    this.onprogress = null;     // While reading (and decoding) file or fileBlob data, and reporting partial file data (progess.loaded/progress.total)
+    this.onprogress = null;     // While reading (and decoding) file or fileBlob data, and reporting partial file data (progress.loaded/progress.total)
     this.onload = null;         // When the read has successfully completed.
     this.onerror = null;        // When the read has failed (see errors).
     this.onloadend = null;      // When the request has completed (either in success or failure).

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/accelerometer.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/accelerometer.js b/lib/common/plugin/accelerometer.js
index b279639..d52b6a9 100644
--- a/lib/common/plugin/accelerometer.js
+++ b/lib/common/plugin/accelerometer.js
@@ -80,7 +80,7 @@ function removeListeners(l) {
 
 var accelerometer = {
     /**
-     * Asynchronously aquires the current acceleration.
+     * Asynchronously acquires the current acceleration.
      *
      * @param {Function} successCallback    The function to call when the acceleration data is available
      * @param {Function} errorCallback      The function to call when there is an error getting the acceleration data. (OPTIONAL)
@@ -111,7 +111,7 @@ var accelerometer = {
     },
 
     /**
-     * Asynchronously aquires the acceleration repeatedly at a given interval.
+     * Asynchronously acquires the acceleration repeatedly at a given interval.
      *
      * @param {Function} successCallback    The function to call each time the acceleration data is available
      * @param {Function} errorCallback      The function to call when there is an error getting the acceleration data. (OPTIONAL)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/console-via-logger.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/console-via-logger.js b/lib/common/plugin/console-via-logger.js
index 8088d8a..98b15f5 100644
--- a/lib/common/plugin/console-via-logger.js
+++ b/lib/common/plugin/console-via-logger.js
@@ -167,7 +167,7 @@ console.table = function(data, columns) {
 //------------------------------------------------------------------------------
 // return a new function that calls both functions passed as args
 //------------------------------------------------------------------------------
-function wrapperedOrigCall(orgFunc, newFunc) {
+function wrappedOrigCall(orgFunc, newFunc) {
     return function() {
         var args = [].slice.call(arguments);
         try { orgFunc.apply(WinConsole, args); } catch (e) {}
@@ -182,6 +182,6 @@ function wrapperedOrigCall(orgFunc, newFunc) {
 //------------------------------------------------------------------------------
 for (var key in console) {
     if (typeof WinConsole[key] == "function") {
-        console[key] = wrapperedOrigCall(WinConsole[key], console[key]);
+        console[key] = wrappedOrigCall(WinConsole[key], console[key]);
     }
 }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/echo.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/echo.js b/lib/common/plugin/echo.js
index ce582ab..5706f4c 100644
--- a/lib/common/plugin/echo.js
+++ b/lib/common/plugin/echo.js
@@ -22,7 +22,7 @@
 var exec = require('cordova/exec');
 
 /**
- * Sends the given message through exec() to the Echo plugink, which sends it back to the successCallback.
+ * Sends the given message through exec() to the Echo plugin, which sends it back to the successCallback.
  * @param successCallback  invoked with a FileSystem object
  * @param errorCallback  invoked if error occurs retrieving file system
  * @param message  The string to be echoed.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/plugin/geolocation.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/geolocation.js b/lib/common/plugin/geolocation.js
index 0495701..a5d47ec 100644
--- a/lib/common/plugin/geolocation.js
+++ b/lib/common/plugin/geolocation.js
@@ -69,7 +69,7 @@ function createTimeout(errorCallback, timeout) {
 var geolocation = {
     lastPosition:null, // reference to last known (cached) position returned
     /**
-   * Asynchronously aquires the current position.
+   * Asynchronously acquires the current position.
    *
    * @param {Function} successCallback    The function to call when the position data is available
    * @param {Function} errorCallback      The function to call when there is an error getting the heading position. (OPTIONAL)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/common/utils.js
----------------------------------------------------------------------
diff --git a/lib/common/utils.js b/lib/common/utils.js
index 5b0ac7c..b51f9a4 100644
--- a/lib/common/utils.js
+++ b/lib/common/utils.js
@@ -74,7 +74,7 @@ utils.clone = function(obj) {
 };
 
 /**
- * Returns a wrappered version of the function
+ * Returns a wrapped version of the function
  */
 utils.close = function(context, func, params) {
     if (typeof params == 'undefined') {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/cordova.js
----------------------------------------------------------------------
diff --git a/lib/cordova.js b/lib/cordova.js
index 136a143..3abcbc6 100644
--- a/lib/cordova.js
+++ b/lib/cordova.js
@@ -67,7 +67,7 @@ window.addEventListener = function(evt, handler, capture) {
 
 document.removeEventListener = function(evt, handler, capture) {
     var e = evt.toLowerCase();
-    // If unsubcribing from an event that is handled by a plugin
+    // If unsubscribing from an event that is handled by a plugin
     if (typeof documentEventHandlers[e] != "undefined") {
         documentEventHandlers[e].unsubscribe(handler);
     } else {
@@ -77,7 +77,7 @@ document.removeEventListener = function(evt, handler, capture) {
 
 window.removeEventListener = function(evt, handler, capture) {
     var e = evt.toLowerCase();
-    // If unsubcribing from an event that is handled by a plugin
+    // If unsubscribing from an event that is handled by a plugin
     if (typeof windowEventHandlers[e] != "undefined") {
         windowEventHandlers[e].unsubscribe(handler);
     } else {
@@ -126,7 +126,7 @@ var cordova = {
         delete documentEventHandlers[event];
     },
     /**
-     * Retreive original event handlers that were replaced by Cordova
+     * Retrieve original event handlers that were replaced by Cordova
      *
      * @return object
      */

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/errgen/exec.js
----------------------------------------------------------------------
diff --git a/lib/errgen/exec.js b/lib/errgen/exec.js
index e6f657d..c192482 100644
--- a/lib/errgen/exec.js
+++ b/lib/errgen/exec.js
@@ -21,7 +21,7 @@
  * 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.
  *

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/scripts/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js
index 6aa08af..84d1036 100644
--- a/lib/scripts/bootstrap.js
+++ b/lib/scripts/bootstrap.js
@@ -40,7 +40,7 @@
                         platform = require('cordova/platform');
 
                     // Drop the common globals into the window object, but be nice and don't overwrite anything.
-                    builder.build(base.objects).intoButDontClobber(window);
+                    builder.build(base.objects).intoButDoNotClobber(window);
 
                     // Drop the platform-specific globals into the window object
                     // and clobber any existing object.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/tizen/plugin/tizen/BufferLoader.js
----------------------------------------------------------------------
diff --git a/lib/tizen/plugin/tizen/BufferLoader.js b/lib/tizen/plugin/tizen/BufferLoader.js
index 220b3c0..6ef19f4 100644
--- a/lib/tizen/plugin/tizen/BufferLoader.js
+++ b/lib/tizen/plugin/tizen/BufferLoader.js
@@ -22,7 +22,7 @@
 /*
  * Buffer Loader Object
  * This class provides a sound buffer for one or more sounds
- * holded in a local file located by an url
+ * held in a local file located by an url
  *
  * uses W3C  Web Audio API
  *

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/tizen/plugin/tizen/ContactUtils.js
----------------------------------------------------------------------
diff --git a/lib/tizen/plugin/tizen/ContactUtils.js b/lib/tizen/plugin/tizen/ContactUtils.js
index d3314ab..7ac05f3 100644
--- a/lib/tizen/plugin/tizen/ContactUtils.js
+++ b/lib/tizen/plugin/tizen/ContactUtils.js
@@ -161,7 +161,7 @@ module.exports = {
             }
         }
 
-        // fullfil tizen find attribute as a single or a composite attribute
+        // fulfill Tizen find attribute as a single or a composite attribute
         if (attributesArray.length == 1 ) {
             filterExpression = attributeFilter[0];
         } else if (attributesArray.length > 1) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/tizen/plugin/tizen/SoundBeat.js
----------------------------------------------------------------------
diff --git a/lib/tizen/plugin/tizen/SoundBeat.js b/lib/tizen/plugin/tizen/SoundBeat.js
index 31ea77b..4600400 100644
--- a/lib/tizen/plugin/tizen/SoundBeat.js
+++ b/lib/tizen/plugin/tizen/SoundBeat.js
@@ -31,7 +31,7 @@
  *
  * NOTE: the W3C Web Audio doc tells we do not need to recreate the audio
  *       context to play a sound but only the audiosourcenode (createBufferSource)
- *       in the webkit implementation we have to.
+ *       in the WebKit implementation we have to.
  *
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/webworks/air/plugin/air/FileReader.js
----------------------------------------------------------------------
diff --git a/lib/webworks/air/plugin/air/FileReader.js b/lib/webworks/air/plugin/air/FileReader.js
index 95a1b8b..b6769b0 100644
--- a/lib/webworks/air/plugin/air/FileReader.js
+++ b/lib/webworks/air/plugin/air/FileReader.js
@@ -43,7 +43,7 @@ var FileReader = function() {
 
     // Event handlers
     this.onloadstart = null;    // When the read starts.
-    this.onprogress = null;     // While reading (and decoding) file or fileBlob data, and reporting partial file data (progess.loaded/progress.total)
+    this.onprogress = null;     // While reading (and decoding) file or fileBlob data, and reporting partial file data (progress.loaded/progress.total)
     this.onload = null;         // When the read has successfully completed.
     this.onerror = null;        // When the read has failed (see errors).
     this.onloadend = null;      // When the request has completed (either in success or failure).

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/webworks/air/plugin/air/capture.js
----------------------------------------------------------------------
diff --git a/lib/webworks/air/plugin/air/capture.js b/lib/webworks/air/plugin/air/capture.js
index dab8041..0b837be 100644
--- a/lib/webworks/air/plugin/air/capture.js
+++ b/lib/webworks/air/plugin/air/capture.js
@@ -96,7 +96,7 @@ module.exports = {
 
         if (args[0].limit > 0 && args[0].duration){
             // a sloppy way of creating a uuid since there's no built in date function to get milliseconds since epoch
-            // might be better to instead check files within directory and then figure out the next file name shoud be
+            // might be better to instead check files within directory and then figure out the next file name should be
             // ie, img000 -> img001 though that would take awhile and would add a whole bunch of checks
             var id = new Date();
             id = (id.getDay()).toString() + (id.getHours()).toString() + (id.getSeconds()).toString() + (id.getMilliseconds()).toString() + (id.getYear()).toString();

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/webworks/java/plugin/java/ContactUtils.js
----------------------------------------------------------------------
diff --git a/lib/webworks/java/plugin/java/ContactUtils.js b/lib/webworks/java/plugin/java/ContactUtils.js
index 6a17cd4..2b7f030 100644
--- a/lib/webworks/java/plugin/java/ContactUtils.js
+++ b/lib/webworks/java/plugin/java/ContactUtils.js
@@ -98,7 +98,7 @@ for ( var key in fieldMappings) {
  * @param {String}
  *            type the type of address (e.g. work, home)
  * @param {blackberry.pim.Address}
- *            bbAddress a BlakcBerry Address object
+ *            bbAddress a BlackBerry Address object
  * @return {ContactAddress} a contact address object or null if the specified
  *         address is null
  */

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/webworks/java/plugin/manager.js
----------------------------------------------------------------------
diff --git a/lib/webworks/java/plugin/manager.js b/lib/webworks/java/plugin/manager.js
index 4d6cc7d..aa93ef6 100644
--- a/lib/webworks/java/plugin/manager.js
+++ b/lib/webworks/java/plugin/manager.js
@@ -39,10 +39,10 @@ function _exec(win, fail, clazz, action, args) {
         if (origResult.length > 0) {
             evalResult = JSON.parse(origResult);
 
-            // If status is OK, then return evalResultalue back to caller
+            // If status is OK, then return evalResult value back to caller
             if (evalResult.status === cordova.callbackStatus.OK) {
 
-                // If there is a success callback, then call it now with returned evalResultalue
+                // If there is a success callback, then call it now with returned evalResult value
                 if (win) {
                     // Clear callback if not expecting any more results
                     if (!evalResult.keepCallback) {
@@ -56,7 +56,7 @@ function _exec(win, fail, clazz, action, args) {
                     delete cordova.callbacks[callbackId];
                 }
             } else {
-                // If there is a fail callback, then call it now with returned evalResultalue
+                // If there is a fail callback, then call it now with returned evalResult value
                 if (fail) {
 
                     // Clear callback if not expecting any more results

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/windows8/plugin/windows8/CaptureProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/CaptureProxy.js b/lib/windows8/plugin/windows8/CaptureProxy.js
index c609eb4..dddae68 100644
--- a/lib/windows8/plugin/windows8/CaptureProxy.js
+++ b/lib/windows8/plugin/windows8/CaptureProxy.js
@@ -44,15 +44,15 @@ module.exports = {
             errorCallback(new CaptureError(CaptureError.CAPTURE_INVALID_ARGUMENT));
             return;
         }
-        var mediaCaputreSettings;
+        var mediaCaptureSettings;
         var initCaptureSettings = function () {
-            mediaCaputreSettings = null;
-            mediaCaputreSettings = new Windows.Media.Capture.MediaCaptureInitializationSettings();
-            mediaCaputreSettings.streamingCaptureMode = Windows.Media.Capture.StreamingCaptureMode.audio;
+            mediaCaptureSettings = null;
+            mediaCaptureSettings = new Windows.Media.Capture.MediaCaptureInitializationSettings();
+            mediaCaptureSettings.streamingCaptureMode = Windows.Media.Capture.StreamingCaptureMode.audio;
         }
         initCaptureSettings();
         var mediaCapture = new Windows.Media.Capture.MediaCapture();
-        mediaCapture.initializeAsync(mediaCaputreSettings).done(function () {
+        mediaCapture.initializeAsync(mediaCaptureSettings).done(function () {
             Windows.Storage.KnownFolders.musicLibrary.createFileAsync("captureAudio.mp3", Windows.Storage.NameCollisionOption.generateUniqueName).then(function (storageFile) {
                 var mediaEncodingProfile = new Windows.Media.MediaProperties.MediaEncodingProfile.createMp3(Windows.Media.MediaProperties.AudioEncodingQuality.auto);
                 var stopRecord = function () {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/lib/windows8/plugin/windows8/MediaProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/MediaProxy.js b/lib/windows8/plugin/windows8/MediaProxy.js
index 3fef899..de2c6d9 100644
--- a/lib/windows8/plugin/windows8/MediaProxy.js
+++ b/lib/windows8/plugin/windows8/MediaProxy.js
@@ -22,7 +22,7 @@
 /*global Windows:true */
 
 var cordova = require('cordova'),
-    Media = require('cordova/plugn/Media');
+    Media = require('cordova/plugin/Media');
 
 module.exports = {
     mediaCaptureMrg:null,
@@ -77,7 +77,7 @@ module.exports = {
         };
     },
 
-    // Seeks to the postion in the audio
+    // Seeks to the position in the audio
     seekToAudio:function(win, lose, args) {
         var id = args[0];
         var milliseconds = args[1];

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/test/test.builder.js
----------------------------------------------------------------------
diff --git a/test/test.builder.js b/test/test.builder.js
index 24ed44e..a33a1e4 100644
--- a/test/test.builder.js
+++ b/test/test.builder.js
@@ -42,7 +42,7 @@ describe("builder", function () {
         var target = {},
             objects = {cat: {}};
 
-        builder.build(objects).intoButDontClobber(target);
+        builder.build(objects).intoButDoNotClobber(target);
 
         expect(target.cat).toBeDefined();
     });
@@ -62,7 +62,7 @@ describe("builder", function () {
                } 
             };
 
-        builder.build(objects).intoButDontClobber(target);
+        builder.build(objects).intoButDoNotClobber(target);
 
         expect(target.homer.bart).toBeDefined();
         expect(target.homer.maggie).toBe(require('cordova/plugin/compass'));

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/test/test.channel.js
----------------------------------------------------------------------
diff --git a/test/test.channel.js b/test/test.channel.js
index cd14d38..ce7137e 100644
--- a/test/test.channel.js
+++ b/test/test.channel.js
@@ -113,7 +113,7 @@ describe("channel", function () {
 
             expect(multiChannel.numHandlers).toEqual(0);
         });
-        it("should not decrement handlers length more than once if unsubing a single handler", function() {
+        it("should not decrement handlers length more than once if unsubscribing a single handler", function() {
             var firstHandler = function(){};
             multiChannel.subscribe(firstHandler);
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/620cb281/test/test.contacts.js
----------------------------------------------------------------------
diff --git a/test/test.contacts.js b/test/test.contacts.js
index 79acf67..af8df23 100644
--- a/test/test.contacts.js
+++ b/test/test.contacts.js
@@ -66,7 +66,7 @@ describe("contacts", function () {
             expect(exec).not.toHaveBeenCalled();
         });
 
-        it("calls the error callback when no fields provied", function () {
+        it("calls the error callback when no fields provided", function () {
             var success = jasmine.createSpy(),
                 error = jasmine.createSpy();