You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/08/20 16:39:59 UTC

git commit: ffos: Make author url optional

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 <ro...@outlook.com>
Authored: Tue Aug 19 12:12:59 2014 -0700
Committer: Andrew Grieve <ag...@chromium.org>
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;