You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2014/09/05 20:14:21 UTC

[16/50] git commit: ffos: Make author url optional

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/2b32d93a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/2b32d93a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/2b32d93a

Branch: refs/heads/master
Commit: 2b32d93a6c39909f5565f198d70d2364df53d745
Parents: 6050e93
Author: Rodrigo Silveira <ro...@outlook.com>
Authored: Tue Aug 19 12:12:59 2014 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Fri Sep 5 11:12:18 2014 -0700

----------------------------------------------------------------------
 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/2b32d93a/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;