You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2019/06/03 14:39:47 UTC

[whimsy] 01/02: Testing alternate ideas

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

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

commit 83a71540bced6161f781934afa4270cbe29f61d1
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Mon Jun 3 10:38:07 2019 -0400

    Testing alternate ideas
---
 www/roster/views/debugger.html.rb | 1 +
 www/roster/views/debugger.js.rb   | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/www/roster/views/debugger.html.rb b/www/roster/views/debugger.html.rb
index 947263a..02647b3 100644
--- a/www/roster/views/debugger.html.rb
+++ b/www/roster/views/debugger.html.rb
@@ -19,6 +19,7 @@ _html do
     _.render '#main' do
       _h3 "Debugger below:"
       _Debugger committer: @committer, auth: @auth
+      _h3 "Debugger ends"
     end
   end
 end
diff --git a/www/roster/views/debugger.js.rb b/www/roster/views/debugger.js.rb
index f100fea..0ff6ed5 100644
--- a/www/roster/views/debugger.js.rb
+++ b/www/roster/views/debugger.js.rb
@@ -2,6 +2,10 @@
 # Debugging tool shell
 #
 class Debugger < Vue
+  def initialize
+    @committer = {}
+  end
+
   def render
     # Display auth status
     if @auth
@@ -14,4 +18,8 @@ class Debugger < Vue
     _h2 "Welcome #{@committer.id}@apache.org"
     _p 'TODO: add actions to allow debugging utility methods'
   end
+  
+  def created
+  end
+
 end