cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [5/8] git commit: Fix error in comments for munge functions
Date Wed, 13 Aug 2014 00:32:13 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/eca36619
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/eca36619
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/eca36619

Branch: refs/heads/cb-7219
Commit: eca366199ee5a3f1634f63a838b797fbe42097fc
Parents: 94c0cc8
Author: Mark Koudritsky <kamrik@gmail.com>
Authored: Fri Aug 8 11:45:16 2014 -0400
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Fri Aug 8 11:45:16 2014 -0400

----------------------------------------------------------------------
 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/eca36619/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