From af41ab40e1fc4888d1873a9ffe681ddafdfb4ee0 Mon Sep 17 00:00:00 2001 From: Avi Dessauer Date: Wed, 21 Aug 2019 06:03:31 -0400 Subject: Delete trailing whitespace (#42) --- javascript/app/templates/bad-url.hbs | 2 +- javascript/app/templates/components/haskell-module.hbs | 6 +++--- javascript/app/templates/components/identifier-name.hbs | 2 +- javascript/app/templates/components/paginated-list.hbs | 6 +++--- javascript/app/templates/package.hbs | 8 ++++---- javascript/app/templates/package/index.hbs | 6 +++--- javascript/app/templates/package/show/file.hbs | 4 ++-- javascript/app/templates/search.hbs | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) (limited to 'javascript/app/templates') diff --git a/javascript/app/templates/bad-url.hbs b/javascript/app/templates/bad-url.hbs index 6b36386..b7df9c5 100644 --- a/javascript/app/templates/bad-url.hbs +++ b/javascript/app/templates/bad-url.hbs @@ -1,4 +1,4 @@ -
+

Not found

Main page
diff --git a/javascript/app/templates/components/haskell-module.hbs b/javascript/app/templates/components/haskell-module.hbs index 77b9df7..6f1d0f5 100644 --- a/javascript/app/templates/components/haskell-module.hbs +++ b/javascript/app/templates/components/haskell-module.hbs @@ -1,14 +1,14 @@
{{#if declarations}}
-
+
{{input class="form-control" value=query placeholder="Identifier"}}{{showDeclarationsLabel}}
{{#if showDeclarations}} -
-
    +
    +
      {{#infinite-list containerElementId="declarations-content" elements=filteredDeclarations perPage=30 as |declaration|}}
    • diff --git a/javascript/app/templates/components/identifier-name.hbs b/javascript/app/templates/components/identifier-name.hbs index ca16e23..4f7b764 100644 --- a/javascript/app/templates/components/identifier-name.hbs +++ b/javascript/app/templates/components/identifier-name.hbs @@ -2,7 +2,7 @@ {{#if identifierInfo.demangledOccName}}{{identifierInfo.demangledOccName}}{{else}}{{name}}{{/if}} {{#unless isBinder}} {{#if location}} - {{location}} + {{location}} Go to definition {{/if}} {{/unless}} diff --git a/javascript/app/templates/components/paginated-list.hbs b/javascript/app/templates/components/paginated-list.hbs index 82d4eee..5184e07 100644 --- a/javascript/app/templates/components/paginated-list.hbs +++ b/javascript/app/templates/components/paginated-list.hbs @@ -1,4 +1,4 @@ -
      +
      Found {{total}} {{{foundWhere}}} {{#if (or next prev)}}   @@ -10,8 +10,8 @@ {{#if next}}{{/if}} {{#if last}}{{/if}} - {{/if}} + {{/if}}
      - {{yield items}} + {{yield items}}
      diff --git a/javascript/app/templates/package.hbs b/javascript/app/templates/package.hbs index 95dca05..d26ce34 100644 --- a/javascript/app/templates/package.hbs +++ b/javascript/app/templates/package.hbs @@ -1,6 +1,6 @@
      - {{#link-to 'package' model}}{{model.id}}{{/link-to}} + {{#link-to 'package' model}}{{model.id}}{{/link-to}} {{#input-with-autocomplete onSubmit=(action 'searchIdentifier') @@ -11,7 +11,7 @@ placeholder="Identifier" as |identifier|}} {{identifier.demangledOccName}} :: {{type-signature-text components=identifier.idType.components}}
      - {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} + {{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}} {{#if identifier.locationInfo.modulePath}} {{identifier.locationInfo.modulePath}} {{else}} @@ -29,7 +29,7 @@ value="allPackages" groupValue=searchMode}} in all packages - {{/radio-button}} + {{/radio-button}} {{#if currentFile}} {{currentFile}} @@ -66,7 +66,7 @@ {{/if}}
      -
      +
      {{#paginated-list url=referencesUrl foundWhere=(concat "in " packageId "") as |files|}}
        {{#each files as |file|}} diff --git a/javascript/app/templates/package/index.hbs b/javascript/app/templates/package/index.hbs index e9bc592..06ccd0d 100644 --- a/javascript/app/templates/package/index.hbs +++ b/javascript/app/templates/package/index.hbs @@ -1,12 +1,12 @@
        - {{input class="form-control" type="text" value=query placeholder="Module name"}} -
        + {{input class="form-control" type="text" value=query placeholder="Module name"}} +
          {{#each modulesFiltered as |module|}}
        • {{module}}
        • {{/each}} -
        +
      diff --git a/javascript/app/templates/package/show/file.hbs b/javascript/app/templates/package/show/file.hbs index b127fd7..0d356e5 100644 --- a/javascript/app/templates/package/show/file.hbs +++ b/javascript/app/templates/package/show/file.hbs @@ -1,11 +1,11 @@ -{{#if model.isHaskellModule}} +{{#if model.isHaskellModule}} {{haskell-module path=model.id name=model.name packageId=model.packageId componentId=model.componentId html=model.sourceCodeHtml - identifiers=model.identifiers + identifiers=model.identifiers occurrences=model.occurrences colorTheme=settings.colorTheme declarations=model.declarations diff --git a/javascript/app/templates/search.hbs b/javascript/app/templates/search.hbs index 222919a..5a36913 100644 --- a/javascript/app/templates/search.hbs +++ b/javascript/app/templates/search.hbs @@ -1,6 +1,6 @@
      -
      +
      {{#input-with-autocomplete onSubmit=(action 'searchIdentifier') -- cgit v1.2.3