diff --git a/Gemfile.lock b/Gemfile.lock index 683fe11..434b6f3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ GIT GIT remote: git://github.com/salama/parslet.git - revision: d4a6444ae01d5688bbb1e8aa27647eb7db1d34a7 + revision: b8bf8db20a242eb6bd8fec88027e3b2ae19276e8 specs: parslet (1.7.0) @@ -35,7 +35,7 @@ GIT GIT remote: git://github.com/salama/salama.git - revision: c039f3d6e6a89a5e66fbcb37f4fb02646fe9d5d6 + revision: df95b8b54de103523743cbfd5c46d87af84c6b09 specs: salama (0.2.0) salama-object-file (~> 0.2) diff --git a/lib/classes_view.rb b/lib/classes_view.rb index f7d9cbc..bf41d9d 100644 --- a/lib/classes_view.rb +++ b/lib/classes_view.rb @@ -18,26 +18,6 @@ class ClassesView < ListView wrap_element div("ul.nav!") wrap_element( div(".classes") << div("h4" , "Classes") ) return @element - - DOM do |dom| - dom.div.classes do - dom.h4 {"Classes"} - dom.ul.nav! do - @classes.each do |cl| - dom.li do - dom.a { cl.name } - dom.ul do - cl.object_layout.object_instance_names.each do |name| - dom.li do - dom.a{ name } - end - end - end - end - end - end - end - end end end diff --git a/lib/value_view.rb b/lib/value_view.rb index ebd2571..a2005b8 100644 --- a/lib/value_view.rb +++ b/lib/value_view.rb @@ -5,12 +5,6 @@ class ValueView < ElementView end def draw - DOM do |dom| - dom.ul.nav! do - dom.li do - dom.span( :href => "#" ) { @value } - end - end - end + @element = div("ul.nav!") << div("li") << div("span", @value) end end