Searched refs:Motemplate (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dtemplate_renderer_test.py9 from third_party.motemplate import Motemplate namespace
23 template = Motemplate('hello {{?true}}{{strings.extension}}{{/}}')
H A Dtemplate_renderer.py6 from third_party.motemplate import Motemplate namespace
30 assert isinstance(template, Motemplate), type(template)
H A Dtemplate_data_source_test.py13 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 Dpermissions_data_source_test.py13 from third_party.motemplate import Motemplate namespace
167 if isinstance(value, Motemplate):
H A Drender_servlet.py16 from third_party.motemplate import Motemplate namespace
114 if isinstance(content, Motemplate):
H A Dcontent_provider.py18 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 Dcompiled_file_system.py13 from third_party.motemplate import Motemplate namespace
134 SingleFile(lambda path, text: Motemplate(ToUnicode(text), name=path)),
H A Dcontent_provider_test.py17 from third_party.motemplate import Motemplate namespace
102 self.assertEqual(Motemplate, type(content_and_type.content))
/external/chromium_org/third_party/motemplate/
H A Dmotemplate.py20 '''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