mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix JSDoc example formatting
This commit is contained in:
@@ -77,14 +77,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* static get template() {
|
||||
* return Polymer.html`
|
||||
* <style>:host{ content:"..." }</style>
|
||||
* <div class="shadowed">${this.partialTemplate}</div>
|
||||
* ${super.template}
|
||||
* `;
|
||||
* }
|
||||
* static get partialTemplate() { return Polymer.html`<span>Partial!</span>`; }
|
||||
* static get template() {
|
||||
* return Polymer.html`
|
||||
* <style>:host{ content:"..." }</style>
|
||||
* <div class="shadowed">${this.partialTemplate}</div>
|
||||
* ${super.template}
|
||||
* `;
|
||||
* }
|
||||
* static get partialTemplate() { return Polymer.html`<span>Partial!</span>`; }
|
||||
*
|
||||
* @memberof Polymer
|
||||
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
||||
@@ -104,17 +104,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* static get template() {
|
||||
* return Polymer.html`
|
||||
* <style>
|
||||
* :host { display: block; }
|
||||
* ${styleTemplate}
|
||||
* </style>
|
||||
* <div class="shadowed">${staticValue}</div>
|
||||
* ${super.template}
|
||||
* `;
|
||||
* }
|
||||
* static get styleTemplate() { return Polymer.htmlLiteral`.shadowed { background: gray; }`; }
|
||||
* static get template() {
|
||||
* return Polymer.html`
|
||||
* <style>
|
||||
* :host { display: block; }
|
||||
* ${styleTemplate}
|
||||
* </style>
|
||||
* <div class="shadowed">${staticValue}</div>
|
||||
* ${super.template}
|
||||
* `;
|
||||
* }
|
||||
* static get styleTemplate() { return Polymer.htmlLiteral`.shadowed { background: gray; }`; }
|
||||
*
|
||||
* @memberof Polymer
|
||||
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
||||
|
||||
Reference in New Issue
Block a user