cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [16/50] git commit: ffos: Make author url optional
Date Fri, 05 Sep 2014 18:14:21 GMT
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 <rodrigos@outlook.com>
Authored: Tue Aug 19 12:12:59 2014 -0700
Committer: Anis Kadri <anis@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;


Mime
View raw message