flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject svn commit: r1671913 - /flex/site/trunk/content/js/showcase.js
Date Tue, 07 Apr 2015 18:30:40 GMT
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"),



Mime
View raw message