cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Nennker <>
Subject cordova-lib: ConfigParser
Date Wed, 14 May 2014 10:14:42 GMT

I think here is an error

function findOrCreate(doc, name) {
    var ret = doc.find(name);
    if (!ret) {
        ret = new et.Element(name);
    return ret;

Should that read "doc.getroot().append(ret);"? Small change so I think
no issue needed, right?


finddOrCreate is called for the "name" and "description" elements of
So this implementation is too simple because name and description elements
can occur several times in config.xml with different xml:lang attributes
but only once for the same lang.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message