ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r943258 - in /websites/staging/ctakes/trunk: cgi-bin/ content/ content/people.html
Date Wed, 11 Mar 2015 00:39:53 GMT
Author: buildbot
Date: Wed Mar 11 00:39:52 2015
New Revision: 943258

Log:
Staging update by buildbot for ctakes

Modified:
    websites/staging/ctakes/trunk/cgi-bin/   (props changed)
    websites/staging/ctakes/trunk/content/   (props changed)
    websites/staging/ctakes/trunk/content/people.html

Propchange: websites/staging/ctakes/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 11 00:39:52 2015
@@ -1 +1 @@
-1665629
+1665745

Propchange: websites/staging/ctakes/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Mar 11 00:39:52 2015
@@ -1 +1 @@
-1665629
+1665745

Modified: websites/staging/ctakes/trunk/content/people.html
==============================================================================
--- websites/staging/ctakes/trunk/content/people.html (original)
+++ websites/staging/ctakes/trunk/content/people.html Wed Mar 11 00:39:52 2015
@@ -170,17 +170,40 @@
 
 <script type="text/javascript">
 $(document).ready( function() {
-   $.getJSON( "https://projects-new.apache.org/json/foundation/committers.json",
-      function( data ) {
-         var persons = [];
-         persons.push( "<ul>" );
+   var exturl = "https://projects-new.apache.org/json/foundation/committers.json";
+   $.getJSON( exturl, function( data ) {
+         var persons = $("<ul>");
          $.each( data.ctakes, function( index, person ) {
-            persons.push( "<li>" + person + "</li>" );
+            persons.append( "<li>" + person + "</li>" );
          });
-         persons.push( "</ul>" );
-         $( "#people-names" ).append( persons.join( "" ) );
+         persons.append( "</ul>" );
+         $( "#people-names" ).append( persons );
+         $( "#people-names" ).append( "<p>throwback " + data.ctakes[0] + "</p>"
);
+      }).error( function() {
+         $( "#people-names" ).append( "<p>error getting json</p>" );
       });
 });
+
+$(document).ready( function() {
+      var data = { "tools" : ["wrench","pliers"], "gubers" : ["bob","joe","sue"] };
+         var persons = $("<ul>");
+         $.each( data.tools, function( index, person ) {
+            persons.append( "<li>" + person + "</li>" );
+         });
+         persons.append( "</ul>" );
+         $( "#people-names" ).append( persons );
+});
+
+$(document).ready( function() {
+      var data = ["bob","joe","sue"];
+         var persons = $("<ul>");
+         $.each( data, function( index, person ) {
+            persons.append( "<li>" + person + "</li>" );
+         });
+         persons.append( "</ul>" );
+         $( "#people-names" ).append( persons );
+});
+
 </script>
 <!--- END MAIN CONTENT --> 
 



Mime
View raw message