aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/templates/package/show/file.hbs
blob: b127fd7b5f71051d0c65e5d79f1a7d1aaa203006 (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}}