community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1658051 - /comdev/projects.apache.org/site/js/projects.js
Date Sat, 07 Feb 2015 11:14:13 GMT
Author: humbedooh
Date: Sat Feb  7 11:14:13 2015
New Revision: 1658051

URL: http://svn.apache.org/r1658051
Log:
that did not work out right

Modified:
    comdev/projects.apache.org/site/js/projects.js

Modified: comdev/projects.apache.org/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1658051&r1=1658050&r2=1658051&view=diff
==============================================================================
--- comdev/projects.apache.org/site/js/projects.js (original)
+++ comdev/projects.apache.org/site/js/projects.js Sat Feb  7 11:14:13 2015
@@ -472,7 +472,7 @@ function setCycles(json, state) {
 // ------------ Projects listing ------------\\
 
 function camelCase(str) {
-    return str.replace(/^([a-zA-Z])(.+)/, function(a,b) { return a.toUpperCase() + b.toLowerCase()
} );
+    return str.replace(/^([a-z])(.+)$/, function(c,a,b) { return a.toUpperCase() + b.toLowerCase()
} );
 }
 
 function renderProjectsList(cat) {



Mime
View raw message