Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit f2ddfd9

Browse files
committed
Reformatted the type info displayed for method and event parameters.
1 parent 4b885e2 commit f2ddfd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

elements/core-doc-page.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h3 id="{{data.name}}.events">Events</h3>
107107
<div class="params">
108108
<p>Event details:</p>
109109
<template repeat="{{param in event.params}}">
110-
<p><code>{{param.name}}</code><span> <code>( {{param.type}} )</code></span></p>
110+
<p><code>&lt;<em>{{param.type}}</em>&gt; {{param.name}}</code></p>
111111
<p><span>{{param.description}}</span></p>
112112
</template>
113113
</div>
@@ -132,7 +132,7 @@ <h3 id="{{data.name}}.methods">Methods</h3>
132132
<div class="params">
133133
<p>Method parameters:</p>
134134
<template repeat="{{param in method.params}}">
135-
<p><code>{{param.name}}</code><span> <code>( {{param.type}} )</code></span></p>
135+
<p><code>&lt;<em>{{param.type}}</em>&gt; {{param.name}}</code></p>
136136
<p><span>{{param.description}}</span></p>
137137
</template>
138138
</div>

0 commit comments

Comments
 (0)