Repository: cordova-lib Updated Branches: refs/heads/master ade65450f -> 38e04e1fc
ffos: Make author url optional github: close #74 Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/38e04e1f Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/38e04e1f Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/38e04e1f Branch: refs/heads/master Commit: 38e04e1fc5ae207a882fbce585d698ad1cf55afa Parents: ade6545 Author: Rodrigo Silveira <[email protected]> Authored: Tue Aug 19 12:12:59 2014 -0700 Committer: Andrew Grieve <[email protected]> Committed: Wed Aug 20 10:39:36 2014 -0400 ---------------------------------------------------------------------- cordova-lib/src/cordova/metadata/firefoxos_parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/38e04e1f/cordova-lib/src/cordova/metadata/firefoxos_parser.js ---------------------------------------------------------------------- diff --git a/cordova-lib/src/cordova/metadata/firefoxos_parser.js b/cordova-lib/src/cordova/metadata/firefoxos_parser.js index 0ec5b6d..e3f4818 100644 --- a/cordova-lib/src/cordova/metadata/firefoxos_parser.js +++ b/cordova-lib/src/cordova/metadata/firefoxos_parser.js @@ -61,7 +61,7 @@ module.exports.prototype = { }; var authorNode = config.doc.find('author'); - var authorUrl = authorNode.attrib['href']; + var authorUrl = authorNode && authorNode.attrib['href']; if (authorUrl) { manifest.developer.url = authorUrl;
