cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [13/37] cordova-lib git commit: CB-10622 fix target attribute being ignored for images in config.xml. This closes #392
Date Sat, 19 Mar 2016 00:57:00 GMT
CB-10622 fix target attribute being ignored for images in config.xml. This closes #392


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

Branch: refs/heads/common-1.1.x
Commit: 84d4ea0c04b57e0907a9b68a1e9063792a95817b
Parents: 8a5bd8f
Author: Andor Polgari <andor.polgari@sap.com>
Authored: Tue Feb 16 11:17:27 2016 +0100
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Fri Feb 26 16:22:15 2016 +0300

----------------------------------------------------------------------
 cordova-common/src/ConfigParser/ConfigParser.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/84d4ea0c/cordova-common/src/ConfigParser/ConfigParser.js
----------------------------------------------------------------------
diff --git a/cordova-common/src/ConfigParser/ConfigParser.js b/cordova-common/src/ConfigParser/ConfigParser.js
index 7abddf6..aae59db 100644
--- a/cordova-common/src/ConfigParser/ConfigParser.js
+++ b/cordova-common/src/ConfigParser/ConfigParser.js
@@ -186,6 +186,7 @@ ConfigParser.prototype = {
         staticResources.forEach(function (elt) {
             var res = {};
             res.src = elt.attrib.src;
+            res.target = elt.attrib.target || undefined;
             res.density = elt.attrib['density'] || elt.attrib[that.cdvNamespacePrefix+':density']
|| elt.attrib['gap:density'];
             res.platform = elt.platform || null; // null means icon represents default icon
(shared between platforms)
             res.width = +elt.attrib.width || undefined;


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


Mime
View raw message