You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/11/25 18:27:17 UTC

[whimsy] branch master updated: Make Eclipse Ruby editor happy

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f18719  Make Eclipse Ruby editor happy
1f18719 is described below

commit 1f187196cabaaa7af9768c096b6df7edd60fb985
Author: Sebb <se...@apache.org>
AuthorDate: Mon Nov 25 18:26:59 2019 +0000

    Make Eclipse Ruby editor happy
---
 tools/wwwdocs.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/wwwdocs.rb b/tools/wwwdocs.rb
index 30b532d..3c02bd5 100755
--- a/tools/wwwdocs.rb
+++ b/tools/wwwdocs.rb
@@ -25,12 +25,12 @@ CONSTANT_DEF = /(?<matchconst>[A-Z_]+)\s+=\s+['"](?<matchval>[^#]+)['"]/ # Attem
 def emit_authmap
   _ul do
     _li do
-      _span.glyphicon :aria_hidden, class: "#{AUTHPUBLIC}"
+      _span.glyphicon :aria_hidden, :class => "#{AUTHPUBLIC}"
       _ 'Publicly available'
     end
     AUTHMAP.each do |realm, style|
       _li do
-        _span.glyphicon.glyphicon_lock :aria_hidden, class: "#{style}", aria_label: "#{realm}"
+        _span.glyphicon.glyphicon_lock :aria_hidden, :class =>  "#{style}", aria_label: "#{realm}"
         _ "#{realm}"
       end
     end
@@ -40,11 +40,11 @@ end
 # Output a span with the auth level
 def emit_auth_level(level)
   if level
-    _span class: level, aria_label: "#{AUTHMAP.key(level)}" do
+    _span :class =>  level, aria_label: "#{AUTHMAP.key(level)}" do
       _span.glyphicon.glyphicon_lock :aria_hidden
     end
   else
-    _span.glyphicon :aria_hidden, class: "#{AUTHPUBLIC}"
+    _span.glyphicon :aria_hidden, :class =>  "#{AUTHPUBLIC}"
   end
 end