Пример #1
0
 def html_attributes_values(self, view, prefix, pos):
     attr = find_attribute_name(view, pos)
     values = HTML_ATTRIBUTES_VALUES.get(attr, [])
     return [(v, '%s\t@=%s' % (v, v), v) for v in values]
Пример #2
0
 def html_attributes_values(self, view, prefix, pos):
     attr        = find_attribute_name(view, pos)
     values      = HTML_ATTRIBUTES_VALUES.get(attr, [])
     return [(v, '%s\t@=%s' % (v,v), v) for v in values]