Searched defs:Handlebar (Results 1 - 10 of 10) sorted by relevance
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | template_renderer_test.py | 9 from third_party.handlebar import Handlebar namespace 23 template = Handlebar('hello {{?true}}{{strings.extension}}{{/}}')
|
H A D | template_renderer.py | 6 from third_party.handlebar import Handlebar namespace 30 assert isinstance(template, Handlebar), type(template)
|
H A D | build_server.py | 81 # 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 D | permissions_data_source_test.py | 13 from third_party.handlebar import Handlebar namespace 160 if isinstance(value, Handlebar):
|
H A D | template_data_source_test.py | 13 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 D | render_servlet.py | 16 from third_party.handlebar import Handlebar namespace 114 if isinstance(content, Handlebar):
|
H A D | content_provider.py | 18 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 D | compiled_file_system.py | 12 from third_party.handlebar import Handlebar namespace 125 SingleFile(lambda path, text: Handlebar(ToUnicode(text), name=path)),
|
H A D | content_provider_test.py | 17 from third_party.handlebar import Handlebar namespace 102 self.assertEqual(Handlebar, type(content_and_type.content))
|
/external/chromium_org/third_party/handlebar/ |
H A D | handlebar.py | 21 '''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