whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] 07/11: more wunderbar syntax and delete dead code
Date Thu, 04 Aug 2016 13:00:05 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

commit c1e5276f574a8e6959b835478b18f34559c02ee2
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed Aug 3 17:11:39 2016 -0400

    more wunderbar syntax and delete dead code
---
 www/officers/acreq.cgi | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/www/officers/acreq.cgi b/www/officers/acreq.cgi
index f2ccdba..d515444 100755
--- a/www/officers/acreq.cgi
+++ b/www/officers/acreq.cgi
@@ -95,7 +95,7 @@ _html do
   _head do
     _title 'Submit ASF Account Request'
 
-    _style! <<-'EOF'
+    _style %{
       label {width: 6em; float: left}
       legend {background: #141; color: #DFD; padding: 0.4em}
       fieldset {background: #EFE; width: 28em}
@@ -108,16 +108,8 @@ _html do
       .stdout {background-color: yellow; margin: 0}
       .stderr {background-color: red; color: white; margin: 0}
       pre.email {background-color: #BDF; padding: 1em 3em; border-radius: 1em}
-    EOF
-
-    ENV['SCRIPT_FILENAME'] =~ /(.*)/
-    sf = $1
-    sf.untaint
-    
-    ENV['DOCUMENT_ROOT'] =~ /(.*)/
-    dr = $1
-    dr.untaint
-    
+    }
+
     _script %{
       $(function() {
 

-- 
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <commits@whimsical.apache.org>.

Mime
View raw message