Skip to content

Commit 0c3fe90

Browse files
committed
Insert blank line between imports and top level template tags
1 parent 98777ab commit 0c3fe90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+49
-0
lines changed

app/components/crate-downloads-list.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import scopedClass from 'ember-scoped-css/helpers/scoped-class';
44
import svgJar from 'ember-svg-jar/helpers/svg-jar';
55

66
import formatNum from 'crates-io/helpers/format-num';
7+
78
<template>
89
<ul class='list'>
910
{{#each @crates as |crate|}}

app/components/crate-list.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import CrateRow from 'crates-io/components/crate-row';
2+
23
<template>
34
<div ...attributes>
45
{{! The extra div wrapper is needed for specificity issues with `margin` }}

app/components/crate-row.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import dateFormatDistanceToNow from 'crates-io/helpers/date-format-distance-to-n
1212
import dateFormatIso from 'crates-io/helpers/date-format-iso';
1313
import formatNum from 'crates-io/helpers/format-num';
1414
import truncateText from 'crates-io/helpers/truncate-text';
15+
1516
<template>
1617
<div data-test-crate-row ...attributes class='crate-row'>
1718
<div class='description-box'>

app/components/dropdown/menu.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { hash } from '@ember/helper';
22

33
import DropdownMenuItem from 'crates-io/components/dropdown/menu-item';
4+
45
<template>
56
<@Content ...attributes>
67
<ul class='list'>

app/components/dropdown/trigger.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { on } from '@ember/modifier';
2+
23
<template>
34
<button type='button' {{on 'click' @toggle}} ...attributes class='button'>
45
{{yield}}

app/components/edition.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Tooltip from 'crates-io/components/tooltip';
2+
23
<template>
34
<span>
45
{{@version.edition}}

app/components/front-page-list/item.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { on } from '@ember/modifier';
22

33
import scopedClass from 'ember-scoped-css/helpers/scoped-class';
44
import svgJar from 'ember-svg-jar/helpers/svg-jar';
5+
56
<template>
67
<a href={{@link.url}} ...attributes class='box' {{on 'click' @link.transitionTo}}>
78
<div class='left'>

app/components/front-page-list/item/placeholder.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import scopedClass from 'ember-scoped-css/helpers/scoped-class';
22
import svgJar from 'ember-svg-jar/helpers/svg-jar';
33

44
import Placeholder from 'crates-io/components/placeholder';
5+
56
<template>
67
<div ...attributes class='link'>
78
<div class='left'>

app/components/license-expression.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import parseLicense from 'crates-io/helpers/parse-license';
2+
23
<template>
34
{{#each (parseLicense @license) as |part|}}
45
{{#if part.isKeyword}}

app/components/loading-spinner.gjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import eq from 'ember-truth-helpers/helpers/eq';
2+
23
<template>
34
<div ...attributes class='spinner {{if (eq @theme "light") "light"}}'>
45
<span class='sr-only'>Loading…</span>

0 commit comments

Comments
 (0)