Repository: cordova-lib Updated Branches: refs/heads/master 8a5bd8f17 -> cda2b72b8
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/master Commit: 84d4ea0c04b57e0907a9b68a1e9063792a95817b Parents: 8a5bd8f Author: Andor Polgari <andor.polg...@sap.com> Authored: Tue Feb 16 11:17:27 2016 +0100 Committer: Vladimir Kotikov <v-vlk...@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-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org