cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject [2/2] cordova-registry-web git commit: Fix syntax error with if else in JSX. Fix the URL references for favicons
Date Sat, 27 Jun 2015 00:18:48 GMT
Fix syntax error with if else in JSX. Fix the URL references for favicons


Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/63c85a10
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/63c85a10
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/63c85a10

Branch: refs/heads/master
Commit: 63c85a1037c36b0aeac30047f813e5c66dd9a532
Parents: bf6e059
Author: Nikhil Khandelwal <nikhilkh@microsoft.com>
Authored: Fri Jun 26 10:22:09 2015 -0700
Committer: Nikhil Khandelwal <nikhilkh@microsoft.com>
Committed: Fri Jun 26 10:22:09 2015 -0700

----------------------------------------------------------------------
 npm-search/assets/js/app.js |  5 ++++-
 npm-search/index.html       | 38 +++++++++++++++++++-------------------
 2 files changed, 23 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/63c85a10/npm-search/assets/js/app.js
----------------------------------------------------------------------
diff --git a/npm-search/assets/js/app.js b/npm-search/assets/js/app.js
index 2806958..f5aa49c 100644
--- a/npm-search/assets/js/app.js
+++ b/npm-search/assets/js/app.js
@@ -88,11 +88,14 @@ var SupportedPlatforms = React.createClass({
         if(otherPlatformsSupported.length > 0 && !this.state.moreClicked) {
             moreButton = <li className="clickable" onClick={this.onClick}>...</li>
         }
+        if (!this.state.moreClicked) {
+            otherPlatformsSupported = null;
+        }
         return (
             <ul className="supportedPlatforms">
                 {majorPlatformsSupported}
                 {moreButton}
-                { this.state.moreClicked ? {otherPlatformsSupported} : null }
+                {otherPlatformsSupported} 
             </ul>
         );
     }

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/63c85a10/npm-search/index.html
----------------------------------------------------------------------
diff --git a/npm-search/index.html b/npm-search/index.html
index 56b44ba..d300a4e 100644
--- a/npm-search/index.html
+++ b/npm-search/index.html
@@ -2,27 +2,27 @@
 <html>
   <head>
     <meta http-equiv='Content-type' content='text/html; charset=utf-8'>
-    <meta name='description' content='This website is to search the apache cordova plugins
from npm. The plugins can be searched across titles, descriptions, authors, platforms and
licenses. You can also view the download counts for each plugin. The page also displays platforms
supported, version and last updated day for the cordova plugins.'>
-    <title>Cordova Search Website</title>
+    <meta name='description' content='This website is used to search the apache cordova
plugins hosted on npm. The plugins can be searched across titles, descriptions, authors, platforms
and licenses. You can also view the download counts for each plugin. The page also displays
platforms supported, version and last updated day for the cordova plugins.'>
+    <title>Cordova Plugin NPM Search</title>
     <link rel="stylesheet" href="build/styles.css" />
-    <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/apple-touch-icon-57x57.png">
-    <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/apple-touch-icon-60x60.png">
-    <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/apple-touch-icon-72x72.png">
-    <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/apple-touch-icon-76x76.png">
-    <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
-    <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/apple-touch-icon-120x120.png">
-    <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/apple-touch-icon-144x144.png">
-    <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/apple-touch-icon-152x152.png">
-    <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/apple-touch-icon-180x180.png">
-    <link rel="icon" type="image/png" href="/assets/img/favicon-32x32.png" sizes="32x32">
-    <link rel="icon" type="image/png" href="/assets/img/android-chrome-192x192.png" sizes="192x192">
-    <link rel="icon" type="image/png" href="/assets/img/favicon-96x96.png" sizes="96x96">
-    <link rel="icon" type="image/png" href="/assets/img/favicon-16x16.png" sizes="16x16">
-    <link rel="manifest" href="/assets/img/manifest.json">
-    <link rel="shortcut icon" href="/assets/img/favicon.ico">
+    <link rel="apple-touch-icon" sizes="57x57" href="assets/img/apple-touch-icon-57x57.png">
+    <link rel="apple-touch-icon" sizes="60x60" href="assets/img/apple-touch-icon-60x60.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="assets/img/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-touch-icon-76x76.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="assets/img/apple-touch-icon-114x114.png">
+    <link rel="apple-touch-icon" sizes="120x120" href="assets/img/apple-touch-icon-120x120.png">
+    <link rel="apple-touch-icon" sizes="144x144" href="assets/img/apple-touch-icon-144x144.png">
+    <link rel="apple-touch-icon" sizes="152x152" href="assets/img/apple-touch-icon-152x152.png">
+    <link rel="apple-touch-icon" sizes="180x180" href="assets/img/apple-touch-icon-180x180.png">
+    <link rel="icon" type="image/png" href="assets/img/favicon-32x32.png" sizes="32x32">
+    <link rel="icon" type="image/png" href="assets/img/android-chrome-192x192.png" sizes="192x192">
+    <link rel="icon" type="image/png" href="assets/img/favicon-96x96.png" sizes="96x96">
+    <link rel="icon" type="image/png" href="assets/img/favicon-16x16.png" sizes="16x16">
+    <link rel="manifest" href="assets/img/manifest.json">
+    <link rel="shortcut icon" href="assets/img/favicon.ico">
     <meta name="msapplication-TileColor" content="#da532c">
-    <meta name="msapplication-TileImage" content="/assets/img/mstile-144x144.png">
-    <meta name="msapplication-config" content="/assets/img/browserconfig.xml">
+    <meta name="msapplication-TileImage" content="assets/img/mstile-144x144.png">
+    <meta name="msapplication-config" content="assets/img/browserconfig.xml">
     <meta name="theme-color" content="#ffffff">
   </head>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message