cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kam...@apache.org
Subject git commit: Style fixes - white space only
Date Wed, 06 Aug 2014 17:15:41 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 437eb1264 -> 190eb20db


Style fixes - white space only


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/190eb20d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/190eb20d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/190eb20d

Branch: refs/heads/master
Commit: 190eb20db2cb1c9d233bd50c80627cd4734910c1
Parents: 437eb12
Author: Mark Koudritsky <kamrik@gmail.com>
Authored: Wed Aug 6 13:14:09 2014 -0400
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Wed Aug 6 13:14:09 2014 -0400

----------------------------------------------------------------------
 cordova-lib/src/events.js                      |  2 +-
 cordova-lib/src/plugman/plugman.js             | 16 ++++++++--------
 cordova-lib/src/plugman/util/config-changes.js |  2 +-
 cordova-lib/src/util/windows/jsproj.js         |  2 +-
 4 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/190eb20d/cordova-lib/src/events.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/events.js b/cordova-lib/src/events.js
index 8c9272d..a6ec340 100644
--- a/cordova-lib/src/events.js
+++ b/cordova-lib/src/events.js
@@ -16,4 +16,4 @@
     specific language governing permissions and limitations
     under the License.
 */
-module.exports = new (require('events').EventEmitter)();
\ No newline at end of file
+module.exports = new (require('events').EventEmitter)();

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/190eb20d/cordova-lib/src/plugman/plugman.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/plugman.js b/cordova-lib/src/plugman/plugman.js
index 5598628..d39544b 100644
--- a/cordova-lib/src/plugman/plugman.js
+++ b/cordova-lib/src/plugman/plugman.js
@@ -102,10 +102,10 @@ plugman.commands =  {
         var cli_variables = {};
         if (cli_opts.variable) {
             cli_opts.variable.forEach(function (variable) {
-                    var tokens = variable.split('=');
-                    var key = tokens.shift().toUpperCase();
-                    if (/^[\w-_]+$/.test(key)) cli_variables[key] = tokens.join('=');
-                });
+                var tokens = variable.split('=');
+                var key = tokens.shift().toUpperCase();
+                if (/^[\w-_]+$/.test(key)) cli_variables[key] = tokens.join('=');
+            });
         }
         var opts = {
             subdir: '.',
@@ -208,10 +208,10 @@ plugman.commands =  {
         var cli_variables = {};
         if (cli_opts.variable) {
             cli_opts.variable.forEach(function (variable) {
-                    var tokens = variable.split('=');
-                    var key = tokens.shift().toUpperCase();
-                    if (/^[\w-_]+$/.test(key)) cli_variables[key] = tokens.join('=');
-                });
+                var tokens = variable.split('=');
+                var key = tokens.shift().toUpperCase();
+                if (/^[\w-_]+$/.test(key)) cli_variables[key] = tokens.join('=');
+            });
         }
         plugman.create( cli_opts.name, cli_opts.plugin_id, cli_opts.plugin_version, cli_opts.path
|| '.', cli_variables );
     },

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/190eb20d/cordova-lib/src/plugman/util/config-changes.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/util/config-changes.js b/cordova-lib/src/plugman/util/config-changes.js
index b8b21c5..f93a9b5 100644
--- a/cordova-lib/src/plugman/util/config-changes.js
+++ b/cordova-lib/src/plugman/util/config-changes.js
@@ -357,7 +357,7 @@ function generate_plugin_config_munge(plugin_dir, vars) {
         var parent = change.attrib['parent'];
         var after = change.attrib['after'];
         var xmls = change.getchildren();
-		xmls.forEach(function(xml) {
+        xmls.forEach(function(xml) {
             // 1. stringify each xml
             var stringified = (new et.ElementTree(xml)).write({xml_declaration:false});
             // interp vars

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/190eb20d/cordova-lib/src/util/windows/jsproj.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/util/windows/jsproj.js b/cordova-lib/src/util/windows/jsproj.js
index d1cd7e4..d847603 100644
--- a/cordova-lib/src/util/windows/jsproj.js
+++ b/cordova-lib/src/util/windows/jsproj.js
@@ -135,7 +135,7 @@ jsproj.prototype = {
         relative_path.forEach(function(filePath) {
             filePath = filePath.split('/').join('\\');
             filePath = this.isUniversalWindowsApp ? '$(MSBuildThisFileDirectory)' + filePath
: filePath;
-            
+
             var content = new et.Element('Content');
             content.attrib.Include = filePath;
             item.append(content);


Mime
View raw message