This commit is contained in:
Kovid Goyal 2016-07-27 12:44:33 +05:30
parent 447af0d9ef
commit 554cdeb746

View File

@ -103,10 +103,10 @@ def ensure_id(w):
w.setAttribute('id', ans) w.setAttribute('id', ans)
return ans return ans
extra_css = [] extra_css = v'[]'
def add_extra_css(func): def add_extra_css(func):
extra_css.push(func) extra_css.push(func())
def get_widget_css(): def get_widget_css():
return extra_css.join('\n') return extra_css.join('\n')