Searched defs:Handlebar (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dtemplate_renderer_test.py9 from third_party.handlebar import Handlebar namespace
23 template = Handlebar('hello {{?true}}{{strings.extension}}{{/}}')
H A Dtemplate_renderer.py6 from third_party.handlebar import Handlebar namespace
30 assert isinstance(template, Handlebar), type(template)
H A Dbuild_server.py81 # To be able to use the Handlebar class we need this import in __init__.py.
85 f.write('from handlebar import Handlebar\n') namespace
H A Dpermissions_data_source_test.py13 from third_party.handlebar import Handlebar namespace
160 if isinstance(value, Handlebar):
H A Dtemplate_data_source_test.py13 from third_party.handlebar import Handlebar namespace
41 template_a1 = Handlebar(_ReadFile('simple', 'test1.html'))
46 template_a2 = Handlebar(_ReadFile('simple', 'test2.html'))
H A Drender_servlet.py16 from third_party.handlebar import Handlebar namespace
114 if isinstance(content, Handlebar):
H A Dcontent_provider.py18 from third_party.handlebar import Handlebar namespace
45 Handlebar templates (if |supports_templates| is True on construction), in
92 content = Handlebar(content, name=path)
100 content = Handlebar(content, name=path)
H A Dcompiled_file_system.py12 from third_party.handlebar import Handlebar namespace
125 SingleFile(lambda path, text: Handlebar(ToUnicode(text), name=path)),
H A Dcontent_provider_test.py17 from third_party.handlebar import Handlebar namespace
102 self.assertEqual(Handlebar, type(content_and_type.content))
/external/chromium_org/third_party/handlebar/
H A Dhandlebar.py21 '''Handlebar templates are data binding templates more-than-loosely inspired by
24 from handlebar import Handlebar
26 template = Handlebar('hello {{#foo bar/}} world')
36 Handlebar will use get() on contexts to return values, so to create custom
43 print(Handlebar('hello {{world}}').render(CustomContext()).text)
655 if isinstance(partial, Handlebar):
669 if isinstance(partial, Handlebar):
710 if not isinstance(value, (Handlebar, _Node)):
714 if isinstance(value, Handlebar):
915 class Handlebar(objec class in inherits:object
[all...]

Completed in 145 milliseconds