puts status in header

This commit is contained in:
Torsten Ruger
2018-04-17 18:49:00 +03:00
parent ff3990841b
commit 88e49afb60
5 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@ class ElementView
# second argument is optional, but if given will be added as text (content) to the newly
# created Element
# return the new Element, which is not linked into the dom at that point (see << and add*)
def div name_class = "div" , text = nil
def div(name_class = "div" , text = nil)
name , clazz = name_class.split(".")
name = "div" if name.empty?
element = $document.create_element(name)