Searched refs:Motemplate (Results 1 - 9 of 9) sorted by relevance
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | template_renderer_test.py | 9 from third_party.motemplate import Motemplate namespace 23 template = Motemplate('hello {{?true}}{{strings.extension}}{{/}}')
|
H A D | template_renderer.py | 6 from third_party.motemplate import Motemplate namespace 30 assert isinstance(template, Motemplate), type(template)
|
H A D | template_data_source_test.py | 13 from third_party.motemplate import Motemplate namespace 41 template_a1 = Motemplate(_ReadFile('simple', 'test1.html')) 46 template_a2 = Motemplate(_ReadFile('simple', 'test2.html'))
|
H A D | permissions_data_source_test.py | 13 from third_party.motemplate import Motemplate namespace 167 if isinstance(value, Motemplate):
|
H A D | render_servlet.py | 16 from third_party.motemplate import Motemplate namespace 114 if isinstance(content, Motemplate):
|
H A D | content_provider.py | 18 from third_party.motemplate import Motemplate namespace 44 Motemplate templates (if |supports_templates| is True on construction), in 91 content = Motemplate(content, name=path) 99 content = Motemplate(content, name=path)
|
H A D | compiled_file_system.py | 13 from third_party.motemplate import Motemplate namespace 134 SingleFile(lambda path, text: Motemplate(ToUnicode(text), name=path)),
|
H A D | content_provider_test.py | 17 from third_party.motemplate import Motemplate namespace 102 self.assertEqual(Motemplate, type(content_and_type.content))
|
/external/chromium_org/third_party/motemplate/ |
H A D | motemplate.py | 20 '''Motemplate templates are data binding templates more-than-loosely inspired by 23 from motemplate import Motemplate 25 template = Motemplate('hello {{#foo bar/}} world') 35 Motemplate will use get() on contexts to return values, so to create custom 42 print(Motemplate('hello {{world}}').render(CustomContext()).text) 652 if isinstance(partial, Motemplate): 666 if isinstance(partial, Motemplate): 707 if not isinstance(value, (Motemplate, _Node)): 711 if isinstance(value, Motemplate): 912 class Motemplate(objec class in inherits:object [all...] |
Completed in 143 milliseconds