diff --git a/lib/class_view.rb b/lib/class_view.rb
index 7dc921f..f58d629 100644
--- a/lib/class_view.rb
+++ b/lib/class_view.rb
@@ -24,22 +24,21 @@ class ClassView < ListView
end
def draw
- div.classes do
- h4 {"Classes"}
- ul.nav do
- #{{page._classes.each do |clas| }}
- li do
- a { "me "}
- # {{ clas._name }}
- # {{ unless variables(clas).empty? }}
- #
- # {{variables(clas).each do |var| }}
- # -
- # {{var}}
- #
- # {{ end }}
- #
- end
+ div.classes do
+ h4 {"Classes"}
+ ul.nav do
+ #{{page._classes.each do |clas| }}
+ li do
+ a { "me "}
+ # {{ clas._name }}
+ # {{ unless variables(clas).empty? }}
+ #
+ # {{variables(clas).each do |var| }}
+ # -
+ # {{var}}
+ #
+ # {{ end }}
+ #
end
end
end
diff --git a/lib/element_view.rb b/lib/element_view.rb
index a8bdad9..93fa30c 100644
--- a/lib/element_view.rb
+++ b/lib/element_view.rb
@@ -1,6 +1,6 @@
class ElementView
def initialize
-
+ @element = nil
end
end
diff --git a/lib/list_view.rb b/lib/list_view.rb
index 5d7930e..225ffe8 100644
--- a/lib/list_view.rb
+++ b/lib/list_view.rb
@@ -3,7 +3,7 @@ require "element_view"
class ListView < ElementView
def initialize
-
+ @elements = []
end
end