aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/templates/package/show/file.hbs
blob: 0d356e548079d314b092e3ad708c4aac1b2907ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{#if model.isHaskellModule}}
    {{haskell-module
      path=model.id
      name=model.name
      packageId=model.packageId
      componentId=model.componentId
      html=model.sourceCodeHtml
      identifiers=model.identifiers
      occurrences=model.occurrences
      colorTheme=settings.colorTheme
      declarations=model.declarations
      findReferences=(action "findReferences")
      }}
{{else}}
    {{text-file text=model.text path=model.id}}
{{/if}}