Skip to content

Commit 2bc7602

Browse files
committed
import-example: prefer single quotes
Let's prefer single quotes to double quotes throughout our template file.
1 parent 900fcb7 commit 2bc7602

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/components/import-example.hbs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<div class="highlight javascript">
2-
<div class="ribbon"></div>
1+
<div class='highlight javascript'>
2+
<div class='ribbon'></div>
33
{{#if (is-clipboard-supported)}}
4-
<div class="import-copy">
4+
<div class='import-copy'>
55
{{#if this.showClipboardSuccessIcon}}
6-
{{svg-jar "success" width="24px" height="24px"}}
6+
{{svg-jar 'success' width='24px' height='24px'}}
77
{{else}}
8-
<CopyButton @clipboardText={{concat "import " @item " from '" @package "';"}} @title="Copy to clipboard" @success={{this.showSuccess}}>
9-
{{svg-jar "copy" width="24px" height="24px"}}
8+
<CopyButton @clipboardText={{concat 'import ' @item " from '" @package "';"}} @title='Copy to clipboard' @success={{this.showSuccess}}>
9+
{{svg-jar 'copy' width='24px' height='24px'}}
1010
</CopyButton>
1111
{{/if}}
1212
</div>
1313
{{/if}}
14-
<table class="CodeRay">
14+
<table class='CodeRay'>
1515
<tbody>
1616
<tr>
17-
<td class="code"><pre><span class="wrapper"><span class="keyword">import</span> {{@item}} <span class="keyword">from</span> <span class="string">'{{@package}}'</span>;</span></pre></td>
17+
<td class='code'><pre><span class='wrapper'><span class='keyword'>import</span> {{@item}} <span class='keyword'>from</span> <span class='string'>'{{@package}}'</span>;</span></pre></td>
1818
</tr>
1919
</tbody>
2020
</table>
21-
</div>
21+
</div>

0 commit comments

Comments
 (0)