community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1876733 - in /comdev/helpwanted.apache.org/site/js: coffee/hw.coffee hw.js
Date Sun, 19 Apr 2020 20:54:59 GMT
Author: humbedooh
Date: Sun Apr 19 20:54:59 2020
New Revision: 1876733

URL: http://svn.apache.org/viewvc?rev=1876733&view=rev
Log:
add infra

Modified:
    comdev/helpwanted.apache.org/site/js/coffee/hw.coffee
    comdev/helpwanted.apache.org/site/js/hw.js

Modified: comdev/helpwanted.apache.org/site/js/coffee/hw.coffee
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/js/coffee/hw.coffee?rev=1876733&r1=1876732&r2=1876733&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/js/coffee/hw.coffee (original)
+++ comdev/helpwanted.apache.org/site/js/coffee/hw.coffee Sun Apr 19 20:54:59 2020
@@ -288,6 +288,11 @@ reallyPopulate = (json, state) ->
           continue
         pro.push(group)
         app(obj, mk('option', { value: group}, group ))
+
+    # Add Infra
+    pro.push('infrastucture')
+    app(obj, mk('option', { value: 'infrastructure'}, 'infrastructure' ))
+    
     if state
         return
     

Modified: comdev/helpwanted.apache.org/site/js/hw.js
URL: http://svn.apache.org/viewvc/comdev/helpwanted.apache.org/site/js/hw.js?rev=1876733&r1=1876732&r2=1876733&view=diff
==============================================================================
--- comdev/helpwanted.apache.org/site/js/hw.js (original)
+++ comdev/helpwanted.apache.org/site/js/hw.js Sun Apr 19 20:54:59 2020
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.9.3
+// Generated by CoffeeScript 1.12.8
 var app, brights, cjson, cog, diff, diff_explanation, displayItem, displayItems, doForm,
fetch, fetchItems, fetchItemsAdmin, genColors, get, hsl2rgb, hw_weburl, isArray, langs, max_items,
mk, pastels, populateAdminForm, populateForm, post, postJSON, projects, reallyPopulate, renderItem,
set, showSplash, splashOptions, spoken_langs, sw, swi, txt, types, website_langs, wizard,
wstate;
 
 hsl2rgb = function(h, s, l) {
@@ -459,6 +459,10 @@ reallyPopulate = function(json, state) {
       value: group
     }, group));
   }
+  pro.push('infrastucture');
+  app(obj, mk('option', {
+    value: 'infrastructure'
+  }, 'infrastructure'));
   if (state) {
     return;
   }
@@ -678,8 +682,8 @@ fetch = function(url, xstate, callback,
         try {
           response = JSON.parse(xmlHttp.responseText);
           return callback(response, xstate);
-        } catch (_error) {
-          e = _error;
+        } catch (error) {
+          e = error;
           return callback(JSON.parse(xmlHttp.responseText), xstate);
         }
       }
@@ -719,8 +723,8 @@ post = function(url, args, xstate, callb
         try {
           response = JSON.parse(xmlHttp.responseText);
           return callback(response, xstate);
-        } catch (_error) {
-          e = _error;
+        } catch (error) {
+          e = error;
           return callback(JSON.parse(xmlHttp.responseText), xstate);
         }
       }
@@ -753,8 +757,8 @@ postJSON = function(url, json, xstate, c
         try {
           response = JSON.parse(xmlHttp.responseText);
           return callback(response, xstate);
-        } catch (_error) {
-          e = _error;
+        } catch (error) {
+          e = error;
           return callback(JSON.parse(xmlHttp.responseText), xstate);
         }
       }



Mime
View raw message