cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [18/50] git commit: Fix error in comments for munge functions
Date Fri, 05 Sep 2014 18:14:23 GMT
Fix error in comments for munge functions


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

Branch: refs/heads/master
Commit: 92e9e44456e345025060bb5f7cf5a4f86b453072
Parents: 06afe8c
Author: Mark Koudritsky <kamrik@gmail.com>
Authored: Fri Aug 8 11:45:16 2014 -0400
Committer: Anis Kadri <anis@apache.org>
Committed: Fri Sep 5 11:12:18 2014 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/util/config-changes.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/92e9e444/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 6e713f5..11765b3 100644
--- a/cordova-lib/src/plugman/util/config-changes.js
+++ b/cordova-lib/src/plugman/util/config-changes.js
@@ -797,7 +797,7 @@ function process_munge(obj, createParents, func, keys /* or key1, key2
.... */ )
 }
 
 // All values from munge are added to base as
-// base[file][selector][child] += base[file][selector][child]
+// base[file][selector][child] += munge[file][selector][child]
 // Returns a munge object containing values that exist in munge
 // but not in base.
 function increment_munge(base, munge) {
@@ -820,7 +820,7 @@ function increment_munge(base, munge) {
 }
 
 // Update the base munge object as
-// base[file][selector][child] -= base[file][selector][child]
+// base[file][selector][child] -= munge[file][selector][child]
 // nodes that reached zero value are removed from base and added to the returned munge
 // object.
 function decrement_munge(base, munge) {


Mime
View raw message