You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by bi...@apache.org on 2015/04/07 20:30:40 UTC

svn commit: r1671913 - /flex/site/trunk/content/js/showcase.js

Author: bigosmallm
Date: Tue Apr  7 18:30:39 2015
New Revision: 1671913

URL: http://svn.apache.org/r1671913
Log:
Just realized that index keeps changing because we are adding elements in alphabetical order.  Will revisit this feature later.  Reverting all changes to this page, for now.

Modified:
    flex/site/trunk/content/js/showcase.js

Modified: flex/site/trunk/content/js/showcase.js
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/js/showcase.js?rev=1671913&r1=1671912&r2=1671913&view=diff
==============================================================================
--- flex/site/trunk/content/js/showcase.js (original)
+++ flex/site/trunk/content/js/showcase.js Tue Apr  7 18:30:39 2015
@@ -1,6 +1,5 @@
 /* helper function to create the showcase
  *  props:
- *  index: index to be used as an anchor tag
  *  title: app title
  *  author: string
  *  description: app description
@@ -16,7 +15,7 @@ function addShowcaseEntry(props) {
     var i;
 
     // TITLE
-    var entry = '<a href="' + window.location + "#" + props.index + '"><div class="headline"><h4>' + props.title + '</h4></div></a>' +
+    var entry = '<div class="headline"><h4>' + props.title + '</h4></div>' +
         ' <ul class="arrow_list">' +
         '<li><span class="sc_header">Summary:</span>&nbsp;&nbsp;' + props.description + '  </li>' +
         '<li><span class="sc_header">Author:</span>&nbsp;&nbsp;' + props.author + ' </li>';
@@ -116,7 +115,6 @@ function processShowcaseXML(xmlDoc) {
         }
 
         addShowcaseEntry({
-			index: i,
             title: item.getAttribute("title"),
             description: item.getElementsByTagName("description")[0].textContent,
             author: item.getAttribute("author"),