last DOM cleaning

This commit is contained in:
Torsten Ruger 2015-08-23 02:20:36 +02:00
parent 3319b0cd98
commit 95c4d656b3
2 changed files with 2 additions and 6 deletions

View File

@ -8,7 +8,7 @@ class ClassView < ElementView
@clazz.object_layout.object_instance_names.each do |name|
ul << (div("li") << div("a", name ))
end
@element.style["z-index"] = 10
@element.style["z-index"] = 20
@element
end
end

View File

@ -2,11 +2,7 @@ class FileView < ElementView
def draw
DOM do |dom|
dom.div.file_view do
dom.h4 {"Future"}
end
end
@element = div(".file_view") << div("h4" ,"Future")
end
end