diff options
author | Avi Dessauer <avi.the.coder@gmail.com> | 2019-08-21 06:03:31 -0400 |
---|---|---|
committer | Alexey Kiryushin <alexey.a.kiryushin@gmail.com> | 2019-08-21 13:03:31 +0300 |
commit | af41ab40e1fc4888d1873a9ffe681ddafdfb4ee0 (patch) | |
tree | 219315a1ef02ae0d0f21889e7b88e08318b308a2 /javascript/app/templates | |
parent | 5295ac7f7f26c3a43f0fe9b9c826e876b29cf666 (diff) |
Delete trailing whitespace (#42)
Diffstat (limited to 'javascript/app/templates')
-rw-r--r-- | javascript/app/templates/bad-url.hbs | 2 | ||||
-rw-r--r-- | javascript/app/templates/components/haskell-module.hbs | 6 | ||||
-rw-r--r-- | javascript/app/templates/components/identifier-name.hbs | 2 | ||||
-rw-r--r-- | javascript/app/templates/components/paginated-list.hbs | 6 | ||||
-rw-r--r-- | javascript/app/templates/package.hbs | 8 | ||||
-rw-r--r-- | javascript/app/templates/package/index.hbs | 6 | ||||
-rw-r--r-- | javascript/app/templates/package/show/file.hbs | 4 | ||||
-rw-r--r-- | javascript/app/templates/search.hbs | 2 |
8 files changed, 18 insertions, 18 deletions
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 @@ -<div class="container"> +<div class="container"> <div style="margin-top:10px"> <h1>Not found</h1> <div><a href="/">Main page</a></div> 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 @@ <div class="source-code-container"></div> {{#if declarations}} <div class="declarations"> - <div class="declarations-header"> + <div class="declarations-header"> <div class="input-group"> {{input class="form-control" value=query placeholder="Identifier"}}<a class="hide-declarations" href="#" {{action "toggleShowDeclarations"}}>{{showDeclarationsLabel}}</a> </div> </div> {{#if showDeclarations}} - <div id="declarations-content" class="declarations-content"> - <ul> + <div id="declarations-content" class="declarations-content"> + <ul> {{#infinite-list containerElementId="declarations-content" elements=filteredDeclarations perPage=30 as |declaration|}} <li class="declaration"> <div class="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 @@ <span class="source-code-font break-word identifier-menu-item" style={{style}}>{{#if identifierInfo.demangledOccName}}{{identifierInfo.demangledOccName}}{{else}}{{name}}{{/if}}</span> {{#unless isBinder}} {{#if location}} - <span class="identifier-menu-item">{{location}}</span> + <span class="identifier-menu-item">{{location}}</span> <span class="link identifier-menu-item" onmouseup={{action "goToDefinition"}}>Go to definition</span> {{/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 @@ -<div class="paginated-list-header"> +<div class="paginated-list-header"> <span>Found {{total}} {{{foundWhere}}}</span> {{#if (or next prev)}} @@ -10,8 +10,8 @@ {{#if next}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" next.href}}>></button>{{/if}} {{#if last}}<button button class="btn btn-outline-secondary btn-sm" {{action "update" last.href}}>>></button>{{/if}} </span> - {{/if}} + {{/if}} </div> <div class="paginated-list-content"> - {{yield items}} + {{yield items}} </div> 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 @@ <div class="flex-container"> <div class="package-header"> - <span class="package-header-package-name">{{#link-to 'package' model}}{{model.id}}{{/link-to}}</span> + <span class="package-header-package-name">{{#link-to 'package' model}}{{model.id}}{{/link-to}}</span> <span class="package-header-input"> {{#input-with-autocomplete onSubmit=(action 'searchIdentifier') @@ -11,7 +11,7 @@ placeholder="Identifier" as |identifier|}} <span class="source-code-font">{{identifier.demangledOccName}} :: {{type-signature-text components=identifier.idType.components}}</span> <div class="module-name"> - <b>{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}}</b> + <b>{{identifier.locationInfo.packageId.name}}-{{identifier.locationInfo.packageId.version}}</b> {{#if identifier.locationInfo.modulePath}} {{identifier.locationInfo.modulePath}} {{else}} @@ -29,7 +29,7 @@ value="allPackages" groupValue=searchMode}} <span>in all packages</span> - {{/radio-button}} + {{/radio-button}} {{#if currentFile}} <span class="package-header-filename"> {{currentFile}} @@ -66,7 +66,7 @@ </span> {{/if}} </div> - <div class="references"> + <div class="references"> {{#paginated-list url=referencesUrl foundWhere=(concat "in <b>" packageId "</b>") as |files|}} <ul> {{#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 @@ <div class="package-modules"> <div class="module-search-input"> - {{input class="form-control" type="text" value=query placeholder="Module name"}} - </div> + {{input class="form-control" type="text" value=query placeholder="Module name"}} + </div> <ul class="modules"> {{#each modulesFiltered as |module|}} <li> <a href="/package/{{model.id}}/show/{{module}}">{{module}}</a> </li> {{/each}} - </ul> + </ul> </div> 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 @@ <div class="flex-container container"> <div style="position:relative;height:100%"> - <div class="absolute-container"> + <div class="absolute-container"> <div class="global-identifier-search-form"> {{#input-with-autocomplete onSubmit=(action 'searchIdentifier') |