diff options
author | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 23:04:57 +0000 |
---|---|---|
committer | asargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 23:04:57 +0000 |
commit | 0b0e8c954d6281495903e4a17e655feab3df55cf (patch) | |
tree | a8546d525780b8d6a929ee5f9c18e91c08be99b5 /chrome/common/extensions/docs/template/api_template.html | |
parent | fe3f29f3e13d5a045e6ee527f24055e8b2c24cb2 (diff) | |
download | chromium_src-0b0e8c954d6281495903e4a17e655feab3df55cf.zip chromium_src-0b0e8c954d6281495903e4a17e655feab3df55cf.tar.gz chromium_src-0b0e8c954d6281495903e4a17e655feab3df55cf.tar.bz2 |
Several small extensions docs system fixes
-Allow automagic links to types in API descriptions, using "$ref:TYPE_ID"
-Fix syntax error in callback code
-Fix a couple other small nits
BUG=52616
TEST=none
Review URL: http://codereview.chromium.org/3117029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/template/api_template.html')
-rw-r--r-- | chrome/common/extensions/docs/template/api_template.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html index fc24864..adfc0b1 100644 --- a/chrome/common/extensions/docs/template/api_template.html +++ b/chrome/common/extensions/docs/template/api_template.html @@ -40,7 +40,7 @@ Undocumented. </dd> <dd jsdisplay="$this.description" - jsvalues=".innerHTML:$this.description"> + jsvalues=".innerHTML:substituteTypeRefs($this.description)"> Description of this parameter from the json schema. </dd> <dd jsdisplay="$this.min_version"> @@ -366,7 +366,7 @@ </p> <!-- Note: intentionally longer 80 columns --> - <pre>function(<span jscontent="getSignatureString(parameters)">Type param1, Type param2</span>) <span class="subdued">{...}</span>);</pre> + <pre>function(<span jscontent="getSignatureString(parameters)">Type param1, Type param2</span>) <span class="subdued">{...}</span>;</pre> <dl> <div jsselect="parameters"> <div transclude="valueTemplate"> |