Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4992)

Unified Diff: chrome/common/extensions/docs/server2/jsc_view.py

Issue 498813002: Rename the docserver third_party dependency "handlebar" to "motemplate", as part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: imports Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/jsc_view.py
diff --git a/chrome/common/extensions/docs/server2/jsc_view.py b/chrome/common/extensions/docs/server2/jsc_view.py
index 70718d32517550b91a123d6a710b757bf1797662..48aa9cc1f3bcef1ab64ef37302dcd348328ef892 100644
--- a/chrome/common/extensions/docs/server2/jsc_view.py
+++ b/chrome/common/extensions/docs/server2/jsc_view.py
@@ -62,7 +62,7 @@ def _FormatValue(value):
class JSCView(object):
'''Uses a Model from the JSON Schema Compiler and generates a dict that
- a Handlebar template can use for a data source.
+ a Motemplate template can use for a data source.
'''
def __init__(self,
@@ -550,7 +550,7 @@ class JSCView(object):
if ext_type not in node.get('extension_types', (ext_type,)):
continue
# If there is a 'partial' argument and it hasn't already been
- # converted to a Handlebar object, transform it to a template.
+ # converted to a Motemplate object, transform it to a template.
if 'partial' in node:
# Note: it's enough to copy() not deepcopy() because only a single
# top-level key is being modified.
« no previous file with comments | « chrome/common/extensions/docs/server2/content_provider_test.py ('k') | chrome/common/extensions/docs/server2/jsc_view_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698